Moved unit test build commands into test/CMakeLists.txt