We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c751fcc commit d37af07Copy full SHA for d37af07
1 file changed
CMakeLists.txt
@@ -187,8 +187,8 @@ add_test(threadpool_cxx14_wait_for_all ${TF_UTEST_DIR}/threadpool_cxx14 -tc=Thre
187
188
add_library(${PROJECT_NAME} INTERFACE)
189
190
-target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_17)
191
-target_include_directories(${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include)
+target_compile_features(${PROJECT_NAME} INTERFACE cxx_std_17)
+target_include_directories(${PROJECT_NAME} INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/include)
192
193
SET(INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "The directory the headers are installed in")
194
SET(LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib" CACHE STRING "Directory where lib will install")
0 commit comments