Loading cmake/PostgreSQL-config.cmake +3 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,9 @@ endif() if (NOT TARGET PostgreSQL::pq AND POSTGRESQL_FOUND) # UNKNOWN erlaubt SHARED/STATIC/etc., ist aber hier nicht streng notwendig # Wir nehmen SHARED an, da libpq fast immer shared ist. add_library(PostgreSQL::pq SHARED IMPORTED) add_library(PostgreSQL::pq SHARED IMPORTED GLOBAL) target_include_directories(PostgreSQL::pq INTERFACE ${POSTGRESQL_INCLUDE_DIRS}) set_target_properties(PostgreSQL::pq PROPERTIES IMPORTED_CONFIGURATIONS "Release;Debug" Loading cmake/SQLite3-config.cmake +1 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ endif() if (NOT TARGET sqlite3::sqlite3 AND SQLITE3_FOUND) # UNKNOWN erlaubt es, dass die Bibliothek statisch oder shared sein kann add_library(sqlite3::sqlite3 UNKNOWN IMPORTED) add_library(sqlite3::sqlite3 SHARED IMPORTED GLOBAL) set_target_properties(sqlite3::sqlite3 PROPERTIES IMPORTED_CONFIGURATIONS "Release;Debug" Loading Loading
cmake/PostgreSQL-config.cmake +3 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,9 @@ endif() if (NOT TARGET PostgreSQL::pq AND POSTGRESQL_FOUND) # UNKNOWN erlaubt SHARED/STATIC/etc., ist aber hier nicht streng notwendig # Wir nehmen SHARED an, da libpq fast immer shared ist. add_library(PostgreSQL::pq SHARED IMPORTED) add_library(PostgreSQL::pq SHARED IMPORTED GLOBAL) target_include_directories(PostgreSQL::pq INTERFACE ${POSTGRESQL_INCLUDE_DIRS}) set_target_properties(PostgreSQL::pq PROPERTIES IMPORTED_CONFIGURATIONS "Release;Debug" Loading
cmake/SQLite3-config.cmake +1 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ endif() if (NOT TARGET sqlite3::sqlite3 AND SQLITE3_FOUND) # UNKNOWN erlaubt es, dass die Bibliothek statisch oder shared sein kann add_library(sqlite3::sqlite3 UNKNOWN IMPORTED) add_library(sqlite3::sqlite3 SHARED IMPORTED GLOBAL) set_target_properties(sqlite3::sqlite3 PROPERTIES IMPORTED_CONFIGURATIONS "Release;Debug" Loading