Browse Source

fix installation of bundles on iOS/tvOS/watchOS

see https://cmake.org/cmake/help/latest/policy/CMP0006.html
SpaceIm 4 years ago
parent
commit
02990a5dea
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(
             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(