We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c4a1fb commit cb2cdbbCopy full SHA for cb2cdbb
tests/utests/CMakeLists.txt
@@ -10,6 +10,10 @@ enable_testing()
10
include_directories(${CMAKE_SOURCE_DIR}/src/)
11
include_directories("${GMOCK_DIR}/include")
12
13
+if(APPLE)
14
+ include_directories("${CMAKE_SOURCE_DIR}/src/MacMSRDriver") # target_include_directories doesn't work
15
+endif()
16
+
17
file(GLOB LSPCI_TEST_FILES lspci-utest.cpp ${CMAKE_SOURCE_DIR}/src/lspci.cpp)
18
set(LIBS Threads::Threads PCM_STATIC)
19
add_executable(lspci-utest ${LSPCI_TEST_FILES})
0 commit comments