summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas G <t_glaessle@gmx.de>2020-09-02 13:47:05 (GMT)
committerBrad King <brad.king@kitware.com>2020-09-02 17:48:42 (GMT)
commit76cc687e98819ad9401d702035feb2aa0f561971 (patch)
treeb893266902ce2e20ed3d74274d93417e93fa5fff
parent68b674b8bc862f943863b48925a5c4d065de8f39 (diff)
downloadCMake-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.cxx1
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");