aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/magnum-plugins/portfile.cmake13
-rw-r--r--ports/magnum/portfile.cmake5
2 files changed, 3 insertions, 15 deletions
diff --git a/ports/magnum-plugins/portfile.cmake b/ports/magnum-plugins/portfile.cmake
index bedf9e395..acbd70861 100644
--- a/ports/magnum-plugins/portfile.cmake
+++ b/ports/magnum-plugins/portfile.cmake
@@ -73,16 +73,9 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
file(COPY ${LIB_TO_MOVE_DBG} DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/lib/magnum)
else()
- # remove headers and libs for plugins
- file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/include)
- file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib)
- file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/lib)
- # hint vcpkg
- set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
- set(VCPKG_POLICY_DLLS_WITHOUT_LIBS enabled)
- file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/include/MagnumPlugins)
- file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib/magnum)
- file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/lib/magnum-d)
+ set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
+ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib/magnum)
+ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/lib/magnum-d)
endif()
# Handle copyright
diff --git a/ports/magnum/portfile.cmake b/ports/magnum/portfile.cmake
index af22fbb60..dece1caa9 100644
--- a/ports/magnum/portfile.cmake
+++ b/ports/magnum/portfile.cmake
@@ -90,11 +90,6 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
file(COPY ${LIB_TO_MOVE_DBG} DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/lib/magnum)
else()
- # remove headers and libs for plugins
- file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/include/MagnumPlugins)
- file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib/magnum)
- file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/lib/magnum-d)
-
file(COPY ${CMAKE_CURRENT_LIST_DIR}/magnumdeploy.ps1 DESTINATION ${CURRENT_PACKAGES_DIR}/bin/magnum)
file(COPY ${CMAKE_CURRENT_LIST_DIR}/magnumdeploy.ps1 DESTINATION ${CURRENT_PACKAGES_DIR}/debug/bin/magnum-d)
endif()