Skip to content

Commit 4eab8ae

Browse files
committed
fix(db): clean CMake configuration
2 parents 663c1fd + 773b0a9 commit 4eab8ae

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -340,13 +340,11 @@ endif()
340340
# deps / defines
341341
if (spdlog_FOUND)
342342
if (TARGET spdlog::spdlog_header_only)
343-
target_link_libraries(vix_db PUBLIC spdlog::spdlog_header_only)
343+
target_link_libraries(vix_db PRIVATE spdlog::spdlog_header_only)
344344
elseif (TARGET spdlog::spdlog)
345-
target_link_libraries(vix_db PUBLIC spdlog::spdlog)
345+
target_link_libraries(vix_db PRIVATE spdlog::spdlog)
346346
endif()
347347
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)
350348
endif()
351349

352350
# ------------------------------------------------------------------------------

0 commit comments

Comments
 (0)