We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 663c1fd + 773b0a9 commit 4eab8aeCopy full SHA for 4eab8ae
1 file changed
CMakeLists.txt
@@ -340,13 +340,11 @@ endif()
340
# deps / defines
341
if (spdlog_FOUND)
342
if (TARGET spdlog::spdlog_header_only)
343
- target_link_libraries(vix_db PUBLIC spdlog::spdlog_header_only)
+ target_link_libraries(vix_db PRIVATE spdlog::spdlog_header_only)
344
elseif (TARGET spdlog::spdlog)
345
- target_link_libraries(vix_db PUBLIC spdlog::spdlog)
+ target_link_libraries(vix_db PRIVATE spdlog::spdlog)
346
endif()
347
target_compile_definitions(vix_db PUBLIC VIX_DB_HAS_SPDLOG=1)
348
-else()
349
- target_compile_definitions(vix_db PUBLIC VIX_DB_NO_LOGGER=1)
350
351
352
# ------------------------------------------------------------------------------
0 commit comments