summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorAlin Elena <alinm.elena@gmail.com>2007-10-10 21:47:37 (GMT)
committerAlin Elena <alinm.elena@gmail.com>2007-10-10 21:47:37 (GMT)
commit680cff0b9fdb17758c8334267f5fa4913ae39f43 (patch)
tree9231fa42f26896bab5a72b9ec15a27873dbe4619 /Modules/Platform
parent8d32d229a3b77f7cb0dd708c6a492fa33797b9f0 (diff)
downloadCMake-680cff0b9fdb17758c8334267f5fa4913ae39f43.zip
CMake-680cff0b9fdb17758c8334267f5fa4913ae39f43.tar.gz
CMake-680cff0b9fdb17758c8334267f5fa4913ae39f43.tar.bz2
ENH: FindBLAS.cmake and FindLAPACK.cmake modules added. They locate various implementations of blas and lapack libraries. CheckFortranFunctionExists.cmake provides a test function to check if the library is usabale. I have also changed the -KPIC flag to -fPIC in Linux-ifort.cmake.
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/Linux-ifort.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Linux-ifort.cmake b/Modules/Platform/Linux-ifort.cmake
index 6d6fcfb..04dcd62 100644
--- a/Modules/Platform/Linux-ifort.cmake
+++ b/Modules/Platform/Linux-ifort.cmake
@@ -1,5 +1,5 @@
SET(CMAKE_DL_LIBS "dl")
-SET(CMAKE_SHARED_LIBRARY_Fortran_FLAGS "-KPIC")
+SET(CMAKE_SHARED_LIBRARY_Fortran_FLAGS "-fPIC")
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,")