aboutsummaryrefslogtreecommitdiff
path: root/ports/proj4/tools-cmake.patch
diff options
context:
space:
mode:
authorSNiLD <GitHub@snild.net>2020-11-25 21:26:09 +0200
committerGitHub <noreply@github.com>2020-11-25 11:26:09 -0800
commit8d2332660cbfa23edd99abf2ea41ff6e2d7134b7 (patch)
treeca334c78370722987ed914639ca453eab1ba5d09 /ports/proj4/tools-cmake.patch
parentb6524c83639b6b2621d6c81dcc9e9fe1bde2dfe9 (diff)
downloadvcpkg-8d2332660cbfa23edd99abf2ea41ff6e2d7134b7.tar.gz
vcpkg-8d2332660cbfa23edd99abf2ea41ff6e2d7134b7.zip
[proj] Added support for optionally building the tools (#14629)
* Added support for optionally building the tools. * Increase port version. * Do not build tools with CMAKE_DEBUG_POSTFIX.
Diffstat (limited to 'ports/proj4/tools-cmake.patch')
-rw-r--r--ports/proj4/tools-cmake.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/ports/proj4/tools-cmake.patch b/ports/proj4/tools-cmake.patch
new file mode 100644
index 000000000..4e487e6f1
--- /dev/null
+++ b/ports/proj4/tools-cmake.patch
@@ -0,0 +1,16 @@
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 48c785a..e2b5485 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -69,11 +69,3 @@ if(BUILD_GIE)
+ include(bin_gie.cmake)
+ set(BIN_TARGETS ${BIN_TARGETS} gie)
+ endif()
+-
+-if(MSVC OR CMAKE_CONFIGURATION_TYPES)
+- if(BIN_TARGETS)
+- # Add _d suffix for your debug versions of the tools
+- set_target_properties(${BIN_TARGETS} PROPERTIES
+- DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX})
+- endif()
+-endif()