From 76cc687e98819ad9401d702035feb2aa0f561971 Mon Sep 17 00:00:00 2001 From: Thomas G Date: Wed, 2 Sep 2020 09:47:05 -0400 Subject: Fortran: Initialize Fortran_VISIBILITY_PRESET property from variable The `CMAKE_Fortran_VISIBILITY_PRESET` variable is documented to initialize the property. Fix it. --- Source/cmTarget.cxx | 1 + 1 file changed, 1 insertion(+) 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"); -- cgit v0.12