diff options
author | Brad King <brad.king@kitware.com> | 2010-09-21 14:41:02 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2010-09-21 14:41:02 (GMT) |
commit | b7539e3832f379fed27c5573aaf83a704a9943bf (patch) | |
tree | 15b304b7359c7081f5d6fd6fb125a53a6ebcd172 | |
parent | 8c865b3b251f31d234dda54804b53444c83fdc33 (diff) | |
parent | c04af060093565d0bdb3703ca89176aff4732abf (diff) | |
download | CMake-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.cmake | 2 |
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}") |