Commit 01c39489 authored by jan.koester's avatar jan.koester
Browse files

musl fixed

parent f03f3c8c
Loading
Loading
Loading
Loading
+17 −11
Original line number Diff line number Diff line
@@ -20,6 +20,8 @@ if(${PostgreSQL_FOUND})
    set_target_properties(pgsql PROPERTIES PREFIX "")

    install(TARGETS pgsql DESTINATION ${DESTDIR} RUNTIME_DEPENDENCY_SET pgsqldep)

    if(${CMAKE_HOST_SYSTEM_NAME} MATCHES "Windows")
        install(
            RUNTIME_DEPENDENCY_SET pgsqldep
            DESTINATION ${DESTDIR}
@@ -27,6 +29,7 @@ if(${PostgreSQL_FOUND})
            POST_INSTALL_SCRIPT   "libpq.dll"
        )
    endif()
endif()

find_package(SQLite3)
if(${SQLite3_FOUND})
@@ -46,6 +49,8 @@ if(${SQLite3_FOUND})
    set_target_properties(sqlite PROPERTIES PREFIX "")

    install(TARGETS sqlite DESTINATION ${DESTDIR} RUNTIME_DEPENDENCY_SET sqlitedep)

    if(${CMAKE_HOST_SYSTEM_NAME} MATCHES "Windows")
        install(
            RUNTIME_DEPENDENCY_SET sqlitedep
            DESTINATION ${DESTDIR}
@@ -53,4 +58,5 @@ if(${SQLite3_FOUND})
            POST_INSTALL_SCRIPT   "sqlite3.dll" "libpq.dll"
        )
    endif()
endif()