1
0
Эх сурвалжийг харах

Fortran: Initialize Fortran_VISIBILITY_PRESET property from variable

The `CMAKE_Fortran_VISIBILITY_PRESET` variable is documented to
initialize the property.  Fix it.
Thomas G 5 жил өмнө
parent
commit
76cc687e98
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      Source/cmTarget.cxx

+ 1 - 0
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");