Skip to content
Snippets Groups Projects
Commit 702ee676 authored by Damien Lacoste's avatar Damien Lacoste
Browse files

Update spdlog to latest 1.9.2 revision, and use the compiled version of it to...

Update spdlog to latest 1.9.2 revision, and use the compiled version of it to build libhdb++-timescale
parent 0a0190c2
No related branches found
No related tags found
No related merge requests found
...@@ -107,6 +107,8 @@ add_subdirectory(thirdparty/google/googletest/googletest EXCLUDE_FROM_ALL) ...@@ -107,6 +107,8 @@ add_subdirectory(thirdparty/google/googletest/googletest EXCLUDE_FROM_ALL)
# Include the thirdparty projects # Include the thirdparty projects
#add_subdirectory(thirdparty/libpqxx EXCLUDE_FROM_ALL) #add_subdirectory(thirdparty/libpqxx EXCLUDE_FROM_ALL)
add_subdirectory(thirdparty/spdlog EXCLUDE_FROM_ALL) add_subdirectory(thirdparty/spdlog EXCLUDE_FROM_ALL)
set_property(TARGET spdlog PROPERTY POSITION_INDEPENDENT_CODE ON)
add_subdirectory(thirdparty/Catch2 EXCLUDE_FROM_ALL) add_subdirectory(thirdparty/Catch2 EXCLUDE_FROM_ALL)
# Find the libpqxx package # Find the libpqxx package
...@@ -185,7 +187,7 @@ add_library(${BACKEND_TARGET_SHARED} SHARED ${SRC_FILES}) ...@@ -185,7 +187,7 @@ add_library(${BACKEND_TARGET_SHARED} SHARED ${SRC_FILES})
target_link_libraries(${BACKEND_TARGET_SHARED} target_link_libraries(${BACKEND_TARGET_SHARED}
PUBLIC libhdbpp::libhdbpp_headers PUBLIC libhdbpp::libhdbpp_headers
PRIVATE Threads::Threads pqxx_static spdlog::spdlog_header_only TangoInterfaceLibrary) PRIVATE Threads::Threads pqxx_static spdlog::spdlog TangoInterfaceLibrary)
target_include_directories(${BACKEND_TARGET_SHARED} target_include_directories(${BACKEND_TARGET_SHARED}
PUBLIC PUBLIC
...@@ -219,7 +221,7 @@ add_library(${BACKEND_TARGET_STATIC} STATIC EXCLUDE_FROM_ALL ${SRC_FILES}) ...@@ -219,7 +221,7 @@ add_library(${BACKEND_TARGET_STATIC} STATIC EXCLUDE_FROM_ALL ${SRC_FILES})
target_link_libraries(${BACKEND_TARGET_STATIC} target_link_libraries(${BACKEND_TARGET_STATIC}
INTERFACE libhdbpp::libhdbpp_headers INTERFACE libhdbpp::libhdbpp_headers
PUBLIC pqxx_static spdlog Threads::Threads PUBLIC pqxx_static spdlog::spdlog Threads::Threads
PRIVATE TangoInterfaceLibrary) PRIVATE TangoInterfaceLibrary)
target_include_directories(${BACKEND_TARGET_STATIC} target_include_directories(${BACKEND_TARGET_STATIC}
......
Subproject commit 1549ff12f1aa61ffc4d9a8727c519034724392a0 Subproject commit eb3220622e73a4889eee355ffa37972b3cac3df5
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment