summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-09-21 14:41:02 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2010-09-21 14:41:02 (GMT)
commitb7539e3832f379fed27c5573aaf83a704a9943bf (patch)
tree15b304b7359c7081f5d6fd6fb125a53a6ebcd172
parent8c865b3b251f31d234dda54804b53444c83fdc33 (diff)
parentc04af060093565d0bdb3703ca89176aff4732abf (diff)
downloadCMake-b7539e3832f379fed27c5573aaf83a704a9943bf.zip
CMake-b7539e3832f379fed27c5573aaf83a704a9943bf.tar.gz
CMake-b7539e3832f379fed27c5573aaf83a704a9943bf.tar.bz2
Merge topic 'compaq-fortran-moddir-flag'
c04af06 Add module-dir flag for Compaq Visual Fortran (#11248)
-rw-r--r--Modules/Platform/Windows-df.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Platform/Windows-df.cmake b/Modules/Platform/Windows-df.cmake
index 753b198..f5046bf 100644
--- a/Modules/Platform/Windows-df.cmake
+++ b/Modules/Platform/Windows-df.cmake
@@ -10,6 +10,8 @@ ELSE(CMAKE_VERBOSE_MAKEFILE)
SET(CMAKE_CL_NOLOGO "/nologo")
ENDIF(CMAKE_VERBOSE_MAKEFILE)
+SET(CMAKE_Fortran_MODDIR_FLAG "-module:")
+
SET(CMAKE_Fortran_CREATE_SHARED_LIBRARY
"link ${CMAKE_CL_NOLOGO} ${CMAKE_START_TEMP_FILE} /out:<TARGET> /dll <LINK_FLAGS> <OBJECTS> <LINK_LIBRARIES> ${CMAKE_END_TEMP_FILE}")