summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-01-19 16:49:17 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-01-19 16:49:17 (GMT)
commit608a71200d4f70708c141790ec33f88e2e1a9993 (patch)
tree559268d7f5da223f6bdae3c3e953d6eef18dcb07 /CMakeLists.txt
parent0f5ada2e0819bc107b2da0fc7d9a93bc4cd5b200 (diff)
downloadhdf5-608a71200d4f70708c141790ec33f88e2e1a9993.zip
hdf5-608a71200d4f70708c141790ec33f88e2e1a9993.tar.gz
hdf5-608a71200d4f70708c141790ec33f88e2e1a9993.tar.bz2
HDFFV-10385 rename vars and macros
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt12
1 files changed, 5 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1663df4..ce0aadf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -409,7 +409,7 @@ include (${HDF_RESOURCES_EXT_DIR}/HDFMacros.cmake)
include (${HDF_RESOURCES_EXT_DIR}/HDFLibMacros.cmake)
include (${HDF_RESOURCES_DIR}/HDF5Macros.cmake)
-SET_HDF5_BUILD_TYPE()
+SET_HDF_BUILD_TYPE()
#-----------------------------------------------------------------------------
# Setup output Directories
@@ -553,11 +553,9 @@ endif ()
set (EXE_EXT "")
if (WIN32)
set (EXE_EXT ".exe")
- if (NOT CYGWIN)
- add_definitions (-D_BIND_TO_CURRENT_VCLIBS_VERSION=1)
- add_definitions (-D_CRT_SECURE_NO_WARNINGS)
- add_definitions (-D_CONSOLE)
- endif ()
+ add_definitions (-D_BIND_TO_CURRENT_VCLIBS_VERSION=1)
+ add_definitions (-D_CRT_SECURE_NO_WARNINGS)
+ add_definitions (-D_CONSOLE)
endif ()
if (MSVC)
@@ -584,7 +582,7 @@ option (HDF5_BUILD_GENERATORS "Build Test Generators" OFF)
#-----------------------------------------------------------------------------
option (HDF5_ENABLE_TRACE "Enable API tracing capability" OFF)
mark_as_advanced (HDF5_ENABLE_TRACE)
-if (${HDF5_CFG_NAME} MATCHES "Debug")
+if (${HDF_CFG_NAME} MATCHES "Debug")
add_definitions (-DDEBUG)
# Enable tracing of the API
if (HDF5_ENABLE_TRACE)