aboutsummaryrefslogtreecommitdiff
path: root/ports/nanodbc
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/nanodbc
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/nanodbc')
-rw-r--r--ports/nanodbc/portfile.cmake5
1 files changed, 2 insertions, 3 deletions
diff --git a/ports/nanodbc/portfile.cmake b/ports/nanodbc/portfile.cmake
index 9a949e7ac..d3139dec9 100644
--- a/ports/nanodbc/portfile.cmake
+++ b/ports/nanodbc/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()
@@ -14,7 +13,7 @@ vcpkg_extract_source_archive(${ARCHIVE})
vcpkg_apply_patches(
SOURCE_PATH ${SOURCE_PATH}
- PATCHES
+ PATCHES
${CMAKE_CURRENT_LIST_DIR}/0001_cmake.patch
${CMAKE_CURRENT_LIST_DIR}/0002_msvc14_codecvt.patch
${CMAKE_CURRENT_LIST_DIR}/0003_export_def.patch
@@ -29,7 +28,7 @@ vcpkg_configure_cmake(
-DNANODBC_USE_UNICODE=ON
)
-vcpkg_install_cmake()
+vcpkg_install_cmake()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)