fixed linux compile

This commit is contained in:
2025-02-13 07:06:10 +01:00
parent 5d41a592bb
commit 2efb106fc3
9 changed files with 28 additions and 36 deletions
+3 -3
View File
@@ -2,7 +2,7 @@ CPMAddPackage("gh:catchorg/Catch2@3.7.1")
list(APPEND CMAKE_MODULE_PATH ${catch2_SOURCE_DIR}/extras)
set(POSTGRES_CONNECTION_STRING "postgres://test:test123@localhost:15432/testdb")
set(POSTGRES_CONNECTION_STRING "postgres://test:test123!@localhost:5432/matador")
configure_file(Connection.hpp.in ${PROJECT_BINARY_DIR}/backends/postgres/test/connection.hpp @ONLY IMMEDIATE)
@@ -35,8 +35,8 @@ add_executable(${LIBRARY_TEST_TARGET} ${TEST_SOURCES})
target_link_libraries(${LIBRARY_TEST_TARGET} PRIVATE
Catch2::Catch2WithMain
matador-utils
matador-query
matador-core
matador-orm
${CMAKE_DL_LIBS}
${PostgreSQL_LIBRARY})