Explorar o código

Merge pull request #1015 from SpaceIm/fix/cmake-bundle-installation

CMake: fix installation of bundles on iOS/tvOS/watchOS
bel2125 %!s(int64=4) %!d(string=hai) anos
pai
achega
efe735d13b
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      src/CMakeLists.txt

+ 1 - 3
src/CMakeLists.txt

@@ -263,9 +263,7 @@ if (CIVETWEB_ENABLE_SERVER_EXECUTABLE)
         install(
             TARGETS civetweb-c-executable
             EXPORT ${PROJECT_NAME}-targets
-            ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
-            LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
-            RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
+            DESTINATION ${CMAKE_INSTALL_BINDIR}
             COMPONENT server)
     endif()
     target_include_directories(