Browse Source

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

CMake: fix installation of bundles on iOS/tvOS/watchOS
bel2125 4 years ago
parent
commit
efe735d13b
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/CMakeLists.txt

+ 1 - 3
src/CMakeLists.txt

@@ -263,9 +263,7 @@ if (CIVETWEB_ENABLE_SERVER_EXECUTABLE)
         install(
         install(
             TARGETS civetweb-c-executable
             TARGETS civetweb-c-executable
             EXPORT ${PROJECT_NAME}-targets
             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)
             COMPONENT server)
     endif()
     endif()
     target_include_directories(
     target_include_directories(