vcpkg/ports/proj4/tools-cmake.patch
SNiLD 8d2332660c
[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.
2020-11-25 11:26:09 -08:00

17 lines
476 B
Diff

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()