find_package(unity REQUIRED) include_directories(${CMAKE_SOURCE_DIR}/src) add_executable(testing ./test.cpp ) set_target_properties(testing PROPERTIES LINKER_LANGUAGE CXX) target_link_libraries(testing unity)