Skip to content
Snippets Groups Projects
Commit 7d50bef5 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

SuperBuild: ZLIB: build without debug postfix

parent 2f0e3a51
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,8 @@ if(MSVC)
DEPENDEES install)
endif()
SUPERBUILD_PATCH_SOURCE(ZLIB)
set(_SB_ZLIB_INCLUDE_DIR ${SB_INSTALL_PREFIX}/include)
if(WIN32)
set(_SB_ZLIB_LIBRARY ${SB_INSTALL_PREFIX}/lib/zdll.lib)
......
diff -burN zlib-1.2.8.orig/CMakeLists.txt zlib-1.2.8/CMakeLists.txt
--- zlib-1.2.8.orig/CMakeLists.txt Thu Feb 2 11:13:32 2017
+++ zlib-1.2.8/CMakeLists.txt Thu Feb 2 11:14:53 2017
@@ -60,7 +60,9 @@
check_include_file(unistd.h Z_HAVE_UNISTD_H)
if(MSVC)
- set(CMAKE_DEBUG_POSTFIX "d")
+ ############# OTB #############
+ # set(CMAKE_DEBUG_POSTFIX d)
+ ############# OTB #############
add_definitions(-D_CRT_SECURE_NO_DEPRECATE)
add_definitions(-D_CRT_NONSTDC_NO_DEPRECATE)
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment