diff options
| author | SNiLD <GitHub@snild.net> | 2020-11-25 21:26:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-25 11:26:09 -0800 |
| commit | 8d2332660cbfa23edd99abf2ea41ff6e2d7134b7 (patch) | |
| tree | ca334c78370722987ed914639ca453eab1ba5d09 /ports/proj4/tools-cmake.patch | |
| parent | b6524c83639b6b2621d6c81dcc9e9fe1bde2dfe9 (diff) | |
| download | vcpkg-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.patch | 16 |
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() |
