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 7f6222d commit 3daaf31Copy full SHA for 3daaf31
source/utils/CMakeLists.txt
@@ -7,6 +7,6 @@ add_library(utils STATIC ${logging_files})
7
if(SYSTEM_SPDLOG)
8
target_link_libraries(utils PUBLIC spdlog::spdlog)
9
else()
10
- target_include_directories(utils PUBLIC ${PROJECT_SOURCE_DIR}/third_party/spdlog_headers/)
+ target_include_directories(utils PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/third_party/spdlog_headers>)
11
endif()
12
set_property(TARGET utils PROPERTY POSITION_INDEPENDENT_CODE ON)
0 commit comments