aboutsummaryrefslogtreecommitdiff
path: root/ports/libmysql
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-11-08 14:25:47 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2016-11-08 14:25:47 -0800
commit1808d461b0e8793445b87eb8ceed71d5ac7aca6e (patch)
tree457ed603532038436d92a996afe7b4bdaef78daf /ports/libmysql
parent6e9d17f73c01c3ad07875ca79196ed2f5e2d3896 (diff)
downloadvcpkg-1808d461b0e8793445b87eb8ceed71d5ac7aca6e.tar.gz
vcpkg-1808d461b0e8793445b87eb8ceed71d5ac7aca6e.zip
triplet is now automatically included before portfiles.
Also remove trailing whitespaces from portfiles
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