浏览代码

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 年之前
父节点
当前提交
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");