macOS Improvement, master branch (2020.02.25.)
Added explicit handling for CMP0068. To finally turn off the warning messages that have been plaguing the macOS builds since CMake 3.9. With messages like:
...
-- Configuring done
CMake Warning (dev):
Policy CMP0068 is not set: RPATH settings on macOS do not affect
install_name. Run "cmake --help-policy CMP0068" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
For compatibility with older versions of CMake, the install_name fields for
the following targets are still affected by RPATH settings:
AsgExampleToolsDict
AsgExampleToolsLib
AsgMessagingDict
AsgMessagingLib
AsgMessagingStandaloneDict
AsgTestingLib
...
Unfortunately the setting has to be made here, since the cmake_minimum_required(...) call at the top of this file resets all settings that may have been set in let's say AnalysisBase/CMakeLists.txt.
Pinging @krumnack.