set(TARGET_NAME "CommonFunctionsTests") add_executable(${TARGET_NAME} CommonFunctionsTests.cpp main.cpp) target_link_libraries(${TARGET_NAME} gtest common) gtest_add_tests(TARGET ${TARGET_NAME} WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests)