Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions HDF5Examples/config/HDFMacros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -173,15 +173,6 @@ macro (HDF_DIR_PATHS package_prefix)
set (CMAKE_PREFIX_PATH ${ADDITIONAL_CMAKE_PREFIX_PATH} ${CMAKE_PREFIX_PATH})
endif ()

#set the default debug suffix for all library targets
if(NOT CMAKE_DEBUG_POSTFIX)
if (WIN32)
set (CMAKE_DEBUG_POSTFIX "_D")
else ()
set (CMAKE_DEBUG_POSTFIX "_debug")
endif ()
endif ()

SET_HDF_BUILD_TYPE()

SET_HDF_OUTPUT_DIRS(${package_prefix})
Expand Down
6 changes: 3 additions & 3 deletions config/cmake/cacheinit.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ set (HDF_TEST_EXPRESS "2" CACHE STRING "Control testing framework (0-3)" FORCE)
set (HDF5_MINGW_STATIC_GCC_LIBS ON CACHE BOOL "Statically link libgcc/libstdc++" FORCE)

#set the default debug suffix for all library targets
if (NOT CMAKE_DEBUG_POSTFIX)
if (NOT DEFINED CMAKE_DEBUG_POSTFIX)
if (WIN32)
set (CMAKE_DEBUG_POSTFIX "_D")
set (CMAKE_DEBUG_POSTFIX "_D" CACHE STRING "Debug library postfix")
else ()
set (CMAKE_DEBUG_POSTFIX "_debug")
set (CMAKE_DEBUG_POSTFIX "_debug" CACHE STRING "Debug library postfix")
endif ()
endif ()

Expand Down
Loading