summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2015-10-06 17:36:38 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2015-10-06 17:36:38 (GMT)
commit6f04c0f89da2c1f9824ef0b6b6d861b3cb4093d8 (patch)
tree18b69fc497a801546dd10e133f4a0aff6f904165
parent086904a50da1dc5f71f73eda1d17a65b4df34bb8 (diff)
downloadhdf5-6f04c0f89da2c1f9824ef0b6b6d861b3cb4093d8.zip
hdf5-6f04c0f89da2c1f9824ef0b6b6d861b3cb4093d8.tar.gz
hdf5-6f04c0f89da2c1f9824ef0b6b6d861b3cb4093d8.tar.bz2
[svn-r27970] eliminate duplicate option
-rw-r--r--CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1035142..d25c5d7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -196,7 +196,7 @@ endif (NOT HDF5_INSTALL_INCLUDE_DIR)
if (NOT HDF5_INSTALL_DATA_DIR)
if (NOT WIN32)
if (APPLE)
- option (HDF5_BUILD_FRAMEWORKS "Create a Mac OSX Framework" OFF)
+ option (HDF5_BUILD_FRAMEWORKS "TRUE to build as frameworks libraries, FALSE to build according to BUILD_SHARED_LIBS" TRUE)
if (HDF5_BUILD_FRAMEWORKS)
set (HDF5_INSTALL_EXTRA_DIR ../SharedSupport)
else (HDF5_BUILD_FRAMEWORKS)
@@ -321,7 +321,6 @@ set (CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE ON)
#-----------------------------------------------------------------------------
# Mac OS X Options
#-----------------------------------------------------------------------------
-option (HDF5_BUILD_FRAMEWORKS "TRUE to build as frameworks libraries, FALSE to build according to BUILD_SHARED_LIBS" TRUE)
if (HDF5_BUILD_FRAMEWORKS AND NOT BUILD_SHARED_LIBS)
set (BUILD_SHARED_LIBS ON CACHE BOOL "Build Shared Libraries")
endif (HDF5_BUILD_FRAMEWORKS AND NOT BUILD_SHARED_LIBS)