summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-03-13 15:54:58 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-03-13 15:54:58 (GMT)
commite8f1d7f031e7300097d347e26251730422c85dc8 (patch)
tree8c57143040e78cfd5d6456efa972b86dabdb4ead
parentd4c0aab0079967ec347d5a7b88602039d728fe78 (diff)
parent54604ee7e997c950519623375812eb0470b8ef25 (diff)
downloadCMake-e8f1d7f031e7300097d347e26251730422c85dc8.zip
CMake-e8f1d7f031e7300097d347e26251730422c85dc8.tar.gz
CMake-e8f1d7f031e7300097d347e26251730422c85dc8.tar.bz2
Merge topic 'doc-Fortran-mod-dir-issue-13034'
54604ee Document Fortran_MODULE_DIRECTORY as OUTPUT only (#13034)
-rw-r--r--Source/cmTarget.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index e6be83a..2fbca80 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -982,7 +982,12 @@ void cmTarget::DefineProperties(cmake *cm)
"When this property is not set the modules will be placed in the "
"build directory corresponding to the target's source directory. "
"If the variable CMAKE_Fortran_MODULE_DIRECTORY is set when a target "
- "is created its value is used to initialize this property.");
+ "is created its value is used to initialize this property."
+ "\n"
+ "Note that some compilers will automatically search the module output "
+ "directory for modules USEd during compilation but others will not. "
+ "If your sources USE modules their location must be specified by "
+ "INCLUDE_DIRECTORIES regardless of this property.");
cm->DefineProperty
("GNUtoMS", cmProperty::TARGET,