Skip to content

Commit 3daaf31

Browse files
authored
Fix utils build (#237)
1 parent 7f6222d commit 3daaf31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/utils/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ add_library(utils STATIC ${logging_files})
77
if(SYSTEM_SPDLOG)
88
target_link_libraries(utils PUBLIC spdlog::spdlog)
99
else()
10-
target_include_directories(utils PUBLIC ${PROJECT_SOURCE_DIR}/third_party/spdlog_headers/)
10+
target_include_directories(utils PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/third_party/spdlog_headers>)
1111
endif()
1212
set_property(TARGET utils PROPERTY POSITION_INDEPENDENT_CODE ON)

0 commit comments

Comments
 (0)