diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2018-01-22 18:50:51 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2018-01-22 18:50:51 (GMT) |
commit | 393851823fb954c75126627fa7701cd051eda162 (patch) | |
tree | c94034f9228af60ee9c7b657e7615da6aa3c4fd0 /CMakeLists.txt | |
parent | 4bf3d192bbc8f453d9a3b4312e4b56d4bd2bcf0f (diff) | |
download | hdf5-393851823fb954c75126627fa7701cd051eda162.zip hdf5-393851823fb954c75126627fa7701cd051eda162.tar.gz hdf5-393851823fb954c75126627fa7701cd051eda162.tar.bz2 |
Fix cmake typo
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
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) |