diff options
author | Thomas G <t_glaessle@gmx.de> | 2020-09-02 13:47:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-09-02 17:48:42 (GMT) |
commit | 76cc687e98819ad9401d702035feb2aa0f561971 (patch) | |
tree | b893266902ce2e20ed3d74274d93417e93fa5fff | |
parent | 68b674b8bc862f943863b48925a5c4d065de8f39 (diff) | |
download | CMake-76cc687e98819ad9401d702035feb2aa0f561971.zip CMake-76cc687e98819ad9401d702035feb2aa0f561971.tar.gz CMake-76cc687e98819ad9401d702035feb2aa0f561971.tar.bz2 |
Fortran: Initialize Fortran_VISIBILITY_PRESET property from variable
The `CMAKE_Fortran_VISIBILITY_PRESET` variable is documented to
initialize the property. Fix it.
-rw-r--r-- | Source/cmTarget.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 022a892..4a72d7a 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -325,6 +325,7 @@ cmTarget::cmTarget(std::string const& name, cmStateEnums::TargetType type, initProp("Fortran_MODULE_DIRECTORY"); initProp("Fortran_COMPILER_LAUNCHER"); initProp("Fortran_PREPROCESS"); + initProp("Fortran_VISIBILITY_PRESET"); initProp("GNUtoMS"); initProp("OSX_ARCHITECTURES"); initProp("IOS_INSTALL_COMBINED"); |