summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-01-22 18:50:51 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-01-22 18:50:51 (GMT)
commit393851823fb954c75126627fa7701cd051eda162 (patch)
treec94034f9228af60ee9c7b657e7615da6aa3c4fd0
parent4bf3d192bbc8f453d9a3b4312e4b56d4bd2bcf0f (diff)
downloadhdf5-393851823fb954c75126627fa7701cd051eda162.zip
hdf5-393851823fb954c75126627fa7701cd051eda162.tar.gz
hdf5-393851823fb954c75126627fa7701cd051eda162.tar.bz2
Fix cmake typo
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f6837fe..3db4a83 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -493,7 +493,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_BUILD_TYPE MATCHES Debug)
+if (${HDF_CFG_NAME} MATCHES "Debug")
add_definitions (-DDEBUG)
# Enable tracing of the API
if (HDF5_ENABLE_TRACE)