summaryrefslogtreecommitdiffstats
path: root/HDF5Examples/config/cmake/HDFMacros.cmake
diff options
context:
space:
mode:
authorGlenn Song <43005495+glennsong09@users.noreply.github.com>2024-02-14 13:37:18 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2024-02-14 22:11:04 (GMT)
commit8837ed7bc22f8ef98df805b5f0a8bfcd32208099 (patch)
treebf6e64789dc2c5ed3bde5ce489aa3063acc16bc8 /HDF5Examples/config/cmake/HDFMacros.cmake
parent1ac9bd3afb9a3f19d1193d2eb97ebd06f462ffe3 (diff)
downloadhdf5-8837ed7bc22f8ef98df805b5f0a8bfcd32208099.zip
hdf5-8837ed7bc22f8ef98df805b5f0a8bfcd32208099.tar.gz
hdf5-8837ed7bc22f8ef98df805b5f0a8bfcd32208099.tar.bz2
Update install texts (#4010)
* Update INSTALL_CMake.txt as necessary * Update remaining docs that use HDF5_USE_GNU_DIRS * Update options in HDFMacros in HDF5Examples
Diffstat (limited to 'HDF5Examples/config/cmake/HDFMacros.cmake')
-rw-r--r--HDF5Examples/config/cmake/HDFMacros.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/HDF5Examples/config/cmake/HDFMacros.cmake b/HDF5Examples/config/cmake/HDFMacros.cmake
index 66a25aa..59efbfb 100644
--- a/HDF5Examples/config/cmake/HDFMacros.cmake
+++ b/HDF5Examples/config/cmake/HDFMacros.cmake
@@ -90,7 +90,7 @@ macro (HDFTEST_COPY_FILE src dest target)
endmacro ()
macro (HDF_DIR_PATHS package_prefix)
- option (H5EX_USE_GNU_DIRS "TRUE to use GNU Coding Standard install directory variables, FALSE to use historical settings" FALSE)
+ option (H5EX_USE_GNU_DIRS "ON to use GNU Coding Standard install directory variables, OFF to use historical settings" OFF)
if (H5EX_USE_GNU_DIRS)
include(GNUInstallDirs)
if (NOT ${package_prefix}_INSTALL_BIN_DIR)
@@ -121,7 +121,7 @@ macro (HDF_DIR_PATHS package_prefix)
endif ()
if (APPLE)
- option (${package_prefix}_BUILD_FRAMEWORKS "TRUE to build as frameworks libraries, FALSE to build according to BUILD_SHARED_LIBS" FALSE)
+ option (${package_prefix}_BUILD_FRAMEWORKS "ON to build as frameworks libraries, OFF to build according to BUILD_SHARED_LIBS" OFF)
endif ()
if (NOT ${package_prefix}_INSTALL_BIN_DIR)
@@ -170,10 +170,10 @@ macro (HDF_DIR_PATHS package_prefix)
message(STATUS "Final: ${${package_prefix}_INSTALL_DOC_DIR}")
# Always use full RPATH, i.e. don't skip the full RPATH for the build tree
- set (CMAKE_SKIP_BUILD_RPATH FALSE)
+ set (CMAKE_SKIP_BUILD_RPATH OFF)
# when building, don't use the install RPATH already
# (but later on when installing)
- set (CMAKE_INSTALL_RPATH_USE_LINK_PATH FALSE)
+ set (CMAKE_INSTALL_RPATH_USE_LINK_PATH OFF)
# add the automatically determined parts of the RPATH
# which point to directories outside the build tree to the install RPATH
set (CMAKE_BUILD_WITH_INSTALL_RPATH ON)