diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-12-13 18:52:13 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-12-13 18:52:21 (GMT) |
commit | 1dc37eae78096b51c3eda34cb07534445ad5b969 (patch) | |
tree | c51a67df7018ccc6eab3c70bb9a9467e6f3074a3 /config/cmake_ext_mod | |
parent | bbdb0306556459531d9e19bc6dae3c602341bdcf (diff) | |
download | hdf5-1dc37eae78096b51c3eda34cb07534445ad5b969.zip hdf5-1dc37eae78096b51c3eda34cb07534445ad5b969.tar.gz hdf5-1dc37eae78096b51c3eda34cb07534445ad5b969.tar.bz2 |
TRILABS-135 add clang sanitizer support
Diffstat (limited to 'config/cmake_ext_mod')
-rw-r--r-- | config/cmake_ext_mod/HDFMacros.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/cmake_ext_mod/HDFMacros.cmake b/config/cmake_ext_mod/HDFMacros.cmake index 148e9d7..d1d9a6c 100644 --- a/config/cmake_ext_mod/HDFMacros.cmake +++ b/config/cmake_ext_mod/HDFMacros.cmake @@ -372,8 +372,13 @@ macro (HDF_DIR_PATHS package_prefix) endif () endif () + # Always use full RPATH, i.e. don't skip the full RPATH for the build tree set (CMAKE_SKIP_BUILD_RPATH FALSE) + # when building, don't use the install RPATH already + # (but later on when installing) set (CMAKE_INSTALL_RPATH_USE_LINK_PATH FALSE) + # 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) if (APPLE) set (CMAKE_INSTALL_NAME_DIR "@rpath") |