Commit 4f1e0d9e authored by jan.koester's avatar jan.koester
Browse files

test

parent aa696c5f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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"
+1 −1
Original line number Diff line number Diff line
@@ -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"