Skip to content

Commit bbe7705

Browse files
Update tests/CMakeLists.txt
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 1dd310a commit bbe7705

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ include(Catch)
2020
foreach(testname ${ALL_TESTNAMES})
2121
add_executable(test.${testname})
2222
target_sources(test.${testname} PRIVATE ${testname}.test.cpp)
23-
target_include_directories(test.${testname} PRIVATE ${CMAKE_SOURCE_DIR}/include)
23+
target_include_directories(
24+
test.${testname}
25+
PRIVATE ${CMAKE_SOURCE_DIR}/include
26+
)
2427
target_link_libraries(test.${testname} PRIVATE Catch2::Catch2WithMain)
2528
endforeach()
2629

0 commit comments

Comments
 (0)