Skip to content

Commit

Permalink
Fix utils build (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
pereanub authored Nov 18, 2024
1 parent 7f6222d commit 3daaf31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/utils/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ add_library(utils STATIC ${logging_files})
if(SYSTEM_SPDLOG)
target_link_libraries(utils PUBLIC spdlog::spdlog)
else()
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>)
endif()
set_property(TARGET utils PROPERTY POSITION_INDEPENDENT_CODE ON)

0 comments on commit 3daaf31

Please sign in to comment.