summaryrefslogtreecommitdiffstats
path: root/config/cmake/HDF5Macros.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2011-02-23 20:09:55 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2011-02-23 20:09:55 (GMT)
commit85304e9fee5b8b24050a4f1d145de62234ff10a4 (patch)
tree4ab39b34cdbd584b7a026511f28b96b384b3b6fc /config/cmake/HDF5Macros.cmake
parentcaffe76187cd66e175f8648d64d179ddc044ba58 (diff)
downloadhdf5-85304e9fee5b8b24050a4f1d145de62234ff10a4.zip
hdf5-85304e9fee5b8b24050a4f1d145de62234ff10a4.tar.gz
hdf5-85304e9fee5b8b24050a4f1d145de62234ff10a4.tar.bz2
[svn-r20149] Change Name of Legacy naming option
Diffstat (limited to 'config/cmake/HDF5Macros.cmake')
-rw-r--r--config/cmake/HDF5Macros.cmake18
1 files changed, 9 insertions, 9 deletions
diff --git a/config/cmake/HDF5Macros.cmake b/config/cmake/HDF5Macros.cmake
index 3edb3a2..3b15e02 100644
--- a/config/cmake/HDF5Macros.cmake
+++ b/config/cmake/HDF5Macros.cmake
@@ -37,12 +37,12 @@ ENDMACRO (IDE_SOURCE_PROPERTIES)
MACRO (H5_NAMING target libtype)
IF (WIN32 AND NOT MINGW)
IF (${libtype} MATCHES "SHARED")
- IF (H5_LEGACY_NAMING)
+ IF (HDF_LEGACY_NAMING)
SET_TARGET_PROPERTIES (${target} PROPERTIES OUTPUT_NAME "dll")
SET_TARGET_PROPERTIES (${target} PROPERTIES PREFIX "${target}")
- ELSE (H5_LEGACY_NAMING)
+ ELSE (HDF_LEGACY_NAMING)
SET_TARGET_PROPERTIES (${target} PROPERTIES OUTPUT_NAME "${target}dll")
- ENDIF (H5_LEGACY_NAMING)
+ ENDIF (HDF_LEGACY_NAMING)
ENDIF (${libtype} MATCHES "SHARED")
ENDIF (WIN32 AND NOT MINGW)
ENDMACRO (H5_NAMING)
@@ -52,26 +52,26 @@ MACRO (H5_SET_LIB_OPTIONS libtarget libname libtype)
# message (STATUS "${libname} libtype: ${libtype}")
IF (${libtype} MATCHES "SHARED")
IF (WIN32 AND NOT MINGW)
- IF (H5_LEGACY_NAMING)
+ IF (HDF_LEGACY_NAMING)
SET (LIB_RELEASE_NAME "${libname}dll")
SET (LIB_DEBUG_NAME "${libname}ddll")
- ELSE (H5_LEGACY_NAMING)
+ ELSE (HDF_LEGACY_NAMING)
SET (LIB_RELEASE_NAME "${libname}")
SET (LIB_DEBUG_NAME "${libname}_D")
- ENDIF (H5_LEGACY_NAMING)
+ ENDIF (HDF_LEGACY_NAMING)
ELSE (WIN32 AND NOT MINGW)
SET (LIB_RELEASE_NAME "${libname}")
SET (LIB_DEBUG_NAME "${libname}_debug")
ENDIF (WIN32 AND NOT MINGW)
ELSE (${libtype} MATCHES "SHARED")
IF (WIN32 AND NOT MINGW)
- IF (H5_LEGACY_NAMING)
+ IF (HDF_LEGACY_NAMING)
SET (LIB_RELEASE_NAME "${libname}")
SET (LIB_DEBUG_NAME "${libname}d")
- ELSE (H5_LEGACY_NAMING)
+ ELSE (HDF_LEGACY_NAMING)
SET (LIB_RELEASE_NAME "lib${libname}")
SET (LIB_DEBUG_NAME "lib${libname}_D")
- ENDIF (H5_LEGACY_NAMING)
+ ENDIF (HDF_LEGACY_NAMING)
ELSE (WIN32 AND NOT MINGW)
# if the generator supports configuration types or if the CMAKE_BUILD_TYPE has a value
IF (CMAKE_CONFIGURATION_TYPES OR CMAKE_BUILD_TYPE)