Commit a745a3b0 authored by jan.koester's avatar jan.koester
Browse files

test

parent 5d3af053
Loading
Loading
Loading
Loading
Loading
+7 −5
Changes for src/CMakeLists.txt: 7 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -74,7 +74,7 @@ include_directories(

install(FILES session.h authdb.h backend.h types.h group.h user.h exception.h service.h plugin.h index.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/authdb)

if(${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Windows" )
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
    install(
        TARGETS authdb
        RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
@@ -88,7 +88,7 @@ else()
    )
endif()

if(${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Windows" )
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
    install(
        RUNTIME_DEPENDENCY_SET authdyn
        DIRECTORIES
@@ -96,8 +96,10 @@ if(${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Windows" )
            "$<TARGET_FILE_DIR:httppp::httppp>"
            "$<TARGET_FILE_DIR:uuidp::uuidp>"
            "$<TARGET_FILE_DIR:json-c::json-c>"
        DESTINATION bin
        PRE_EXCLUDE_REGEXES "((api|ext)-ms-.*|.*azureattest.*|vcruntime.*|ucrtbase.*|msvcrt.*|wpaxholder.*|hvsifiletrust.*|pdmutilities.*)\\.dll"
        POST_EXCLUDE_REGEXES [[.*(\\|/)system32(\\|/).*\.dll]]
        DESTINATION ${CMAKE_INSTALL_BINDIR}
        PRE_EXCLUDE_REGEXES
            "((api|ext)-ms-.*|.*azureattest.*|vcruntime.*|ucrtbase.*|msvcrt.*|wpaxholder.*|hvsifiletrust.*|pdmutilities.*)\\.dll"
        POST_EXCLUDE_REGEXES
            ".*[\\\\/]system32[\\\\/].*\\.dll"
    )
endif()