Merge topic 'compaq-fortran-moddir-flag'

c04af06 Add module-dir flag for Compaq Visual Fortran (#11248)
This commit is contained in:
Brad King 2010-09-21 10:41:02 -04:00 committed by CMake Topic Stage
commit b7539e3832
1 changed files with 2 additions and 0 deletions

View File

@ -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}")