summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-09-09 20:05:42 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-09-09 20:05:42 (GMT)
commitb18faffcf019cbfa0d607c656d2e98f056b2d6e7 (patch)
tree58d4088cdbcdb1c5d8f5de3da27a07224d9f62ed /Modules/Platform
parent766c48ae19277a352caece6e97a762b0c6b412e5 (diff)
downloadCMake-b18faffcf019cbfa0d607c656d2e98f056b2d6e7.zip
CMake-b18faffcf019cbfa0d607c656d2e98f056b2d6e7.tar.gz
CMake-b18faffcf019cbfa0d607c656d2e98f056b2d6e7.tar.bz2
add ifort support
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/Linux-ifort.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Modules/Platform/Linux-ifort.cmake b/Modules/Platform/Linux-ifort.cmake
new file mode 100644
index 0000000..3a5512f
--- /dev/null
+++ b/Modules/Platform/Linux-ifort.cmake
@@ -0,0 +1,7 @@
+SET(CMAKE_DL_LIBS "-ldl")
+SET(CMAKE_SHARED_LIBRARY_Fortran_FLAGS "-KPIC")
+SET(CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS "-shared")
+SET(CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS "-i_dynamic")
+SET(CMAKE_SHARED_LIBRARY_RUNTIME_Fortran_FLAG "-Wl,-rpath,")
+SET(CMAKE_SHARED_LIBRARY_RUNTIME_Fortran_FLAG_SEP ":")
+SET(CMAKE_SHARED_LIBRARY_SONAME_Fortran_FLAG "-Wl,-soname,")