projects
/
unres.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cmake gfortran correction
[unres.git]
/
source
/
unres
/
src_MD-M
/
CMakeLists.txt
diff --git
a/source/unres/src_MD-M/CMakeLists.txt
b/source/unres/src_MD-M/CMakeLists.txt
index
03a4515
..
6aa6fc6
100644
(file)
--- a/
source/unres/src_MD-M/CMakeLists.txt
+++ b/
source/unres/src_MD-M/CMakeLists.txt
@@
-323,8
+323,11
@@
endif(UNRES_WITH_MPI)
# link libxdrf.a
#message("UNRES_XDRFLIB=${UNRES_XDRFLIB}")
target_link_libraries( UNRES_BIN-MD-M xdrf )
# link libxdrf.a
#message("UNRES_XDRFLIB=${UNRES_XDRFLIB}")
target_link_libraries( UNRES_BIN-MD-M xdrf )
+if (Fortran_COMPILER_NAME STREQUAL "ifort")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -mcmodel=medium -shared-intel")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -mcmodel=medium -shared-intel")
-
+else ()
+set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -mcmodel=medium ")
+endif ()
#=========================================
# Install Path
#=========================================
#=========================================
# Install Path
#=========================================