diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2011-02-23 20:12:07 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2011-02-23 20:12:07 (GMT) |
commit | ace309a7028e01e329c26c3f15df7ed2ca453912 (patch) | |
tree | 9a9d9965cb59b35ea1f3b420cef6af42fc8afc6f /config | |
parent | a7c2d480f3ec726f26a8681f18ed509b0f67b840 (diff) | |
download | hdf5-ace309a7028e01e329c26c3f15df7ed2ca453912.zip hdf5-ace309a7028e01e329c26c3f15df7ed2ca453912.tar.gz hdf5-ace309a7028e01e329c26c3f15df7ed2ca453912.tar.bz2 |
[svn-r20150] Change Name of Legacy naming option
Diffstat (limited to 'config')
-rw-r--r-- | config/cmake/HDF5Macros.cmake | 18 |
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) |