We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd2af49 commit 2e02a16Copy full SHA for 2e02a16
libcapt/CMakeLists.txt
@@ -12,7 +12,7 @@ if(NOT HAVE_BYTESWAP)
12
set(HAVE_BYTESWAP 0)
13
endif()
14
15
-configure_file(Config.hpp.in ${CMAKE_CURRENT_SOURCE_DIR}/Config.hpp @ONLY)
+configure_file(Config.hpp.in "${CMAKE_CURRENT_SOURCE_DIR}/Config.hpp" @ONLY)
16
17
add_library(libcapt)
18
add_library(libcapt::libcapt ALIAS libcapt)
tests/Core/CMakeLists.txt
@@ -28,5 +28,6 @@ set(
28
foreach(file ${TEST_FILES})
29
add_executable(${file} ${file}.cpp)
30
target_link_libraries(${file} PRIVATE GTest::gtest_main GTest::gmock libcapt)
31
+ target_include_directories(${file} PRIVATE $<TARGET_PROPERTY:libcapt,INCLUDE_DIRECTORIES>)
32
gtest_discover_tests(${file})
33
endforeach()
0 commit comments