We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dd310a commit bbe7705Copy full SHA for bbe7705
tests/CMakeLists.txt
@@ -20,7 +20,10 @@ include(Catch)
20
foreach(testname ${ALL_TESTNAMES})
21
add_executable(test.${testname})
22
target_sources(test.${testname} PRIVATE ${testname}.test.cpp)
23
- target_include_directories(test.${testname} PRIVATE ${CMAKE_SOURCE_DIR}/include)
+ target_include_directories(
24
+ test.${testname}
25
+ PRIVATE ${CMAKE_SOURCE_DIR}/include
26
+ )
27
target_link_libraries(test.${testname} PRIVATE Catch2::Catch2WithMain)
28
endforeach()
29
0 commit comments