aboutsummaryrefslogtreecommitdiff
path: root/ports/libmysql
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-11-08 15:09:56 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2016-11-08 15:09:56 -0800
commitdbab03a1a82913ae96bfa3c1613ade20b5ac438d (patch)
tree8086e4554c7902d6b0a3a0079425785e4eec5141 /ports/libmysql
parent2e7b260b32454d32fb10cc9d838409f82c7744b8 (diff)
parent218cae4503749134f4827b3e71fbf22a956d4dc3 (diff)
downloadvcpkg-dbab03a1a82913ae96bfa3c1613ade20b5ac438d.tar.gz
vcpkg-dbab03a1a82913ae96bfa3c1613ade20b5ac438d.zip
Merge branch 'postbuild'
Diffstat (limited to 'ports/libmysql')
-rw-r--r--ports/libmysql/portfile.cmake10
1 files changed, 5 insertions, 5 deletions
diff --git a/ports/libmysql/portfile.cmake b/ports/libmysql/portfile.cmake
index 9c2aafdc1..48412ccc7 100644
--- a/ports/libmysql/portfile.cmake
+++ b/ports/libmysql/portfile.cmake
@@ -1,6 +1,6 @@
-include(${CMAKE_TRIPLET_FILE})
if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
- message(FATAL_ERROR "Static building not supported yet")
+ message(STATUS "Warning: Static building not supported yet. Building dynamic.")
+ set(VCPKG_LIBRARY_LINKAGE dynamic)
endif()
include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/mysql-server-mysql-5.7.16)
@@ -18,7 +18,7 @@ vcpkg_extract_source_archive(${ARCHIVE})
vcpkg_apply_patches(
SOURCE_PATH ${SOURCE_PATH}
- PATCHES
+ PATCHES
${CMAKE_CURRENT_LIST_DIR}/0001_cmake.patch
)
@@ -29,11 +29,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