aboutsummaryrefslogtreecommitdiff
path: root/ports/libmysql
diff options
context:
space:
mode:
Diffstat (limited to 'ports/libmysql')
-rw-r--r--ports/libmysql/portfile.cmake7
1 files changed, 3 insertions, 4 deletions
diff --git a/ports/libmysql/portfile.cmake b/ports/libmysql/portfile.cmake
index 9c2aafdc1..5f4f11a0c 100644
--- a/ports/libmysql/portfile.cmake
+++ b/ports/libmysql/portfile.cmake
@@ -1,4 +1,3 @@
-include(${CMAKE_TRIPLET_FILE})
if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
message(FATAL_ERROR "Static building not supported yet")
endif()
@@ -18,7 +17,7 @@ vcpkg_extract_source_archive(${ARCHIVE})
vcpkg_apply_patches(
SOURCE_PATH ${SOURCE_PATH}
- PATCHES
+ PATCHES
${CMAKE_CURRENT_LIST_DIR}/0001_cmake.patch
)
@@ -29,11 +28,11 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
# delete debug headers
-file(REMOVE_RECURSE
+file(REMOVE_RECURSE
${CURRENT_PACKAGES_DIR}/debug/include)
# delete useless vcruntime/scripts/bin/msg file
-file(REMOVE_RECURSE
+file(REMOVE_RECURSE
${CURRENT_PACKAGES_DIR}/share
${CURRENT_PACKAGES_DIR}/debug/share
${CURRENT_PACKAGES_DIR}/bin