aboutsummaryrefslogtreecommitdiff
path: root/ports/gflags
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/gflags
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/gflags')
-rw-r--r--ports/gflags/portfile.cmake5
1 files changed, 2 insertions, 3 deletions
diff --git a/ports/gflags/portfile.cmake b/ports/gflags/portfile.cmake
index 7ca94d9fd..b600d8832 100644
--- a/ports/gflags/portfile.cmake
+++ b/ports/gflags/portfile.cmake
@@ -1,4 +1,3 @@
-include(${CMAKE_TRIPLET_FILE})
include(vcpkg_common_functions)
find_program(GIT git)
@@ -64,8 +63,8 @@ file(WRITE ${CURRENT_PACKAGES_DIR}/share/gflags/gflags-export-release.cmake "${G
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/cmake)
file(READ ${CURRENT_PACKAGES_DIR}/share/gflags/gflags-export.cmake GFLAGS_CONFIG_MODULE)
-string(REPLACE "get_filename_component(_IMPORT_PREFIX \"\${_IMPORT_PREFIX}\" PATH)"
- "get_filename_component(_IMPORT_PREFIX \"\${_IMPORT_PREFIX}\" PATH)\nget_filename_component(_IMPORT_PREFIX \"\${_IMPORT_PREFIX}\" PATH)"
+string(REPLACE "get_filename_component(_IMPORT_PREFIX \"\${_IMPORT_PREFIX}\" PATH)"
+ "get_filename_component(_IMPORT_PREFIX \"\${_IMPORT_PREFIX}\" PATH)\nget_filename_component(_IMPORT_PREFIX \"\${_IMPORT_PREFIX}\" PATH)"
GFLAGS_CONFIG_MODULE "${GFLAGS_CONFIG_MODULE}")
file(WRITE ${CURRENT_PACKAGES_DIR}/share/gflags/gflags-export.cmake ${GFLAGS_CONFIG_MODULE})