浏览代码

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

CMake: fix installation of bundles on iOS/tvOS/watchOS
bel2125 4 年之前
父节点
当前提交
efe735d13b
共有 1 个文件被更改,包括 1 次插入3 次删除
  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(