summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Linux-Intel-Fortran.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-12-02 20:17:53 (GMT)
committerBrad King <brad.king@kitware.com>2009-12-02 20:17:53 (GMT)
commit4d72006bd6ba8c471236a9732ae4fd9cc9e90cfa (patch)
tree3665c5144e0d62b4c9150064babc6bf322802447 /Modules/Platform/Linux-Intel-Fortran.cmake
parent9daa4a6c3f3106adf02c9f8bc587fa8096a56b3b (diff)
downloadCMake-4d72006bd6ba8c471236a9732ae4fd9cc9e90cfa.zip
CMake-4d72006bd6ba8c471236a9732ae4fd9cc9e90cfa.tar.gz
CMake-4d72006bd6ba8c471236a9732ae4fd9cc9e90cfa.tar.bz2
Reduce duplication in Platform/<os>.cmake files
Several platform-wide linker flag variables are defined in Modules/Platform/<os>.cmake files for C and then copied by the Modules/CMake<lang>Information.cmake file for each language. We now use this approach for the variables CMAKE_EXE_EXPORTS_${lang}_FLAG CMAKE_SHARED_LIBRARY_SONAME_${lang}_FLAG CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS to avoid duplication for multiple languages in each platform file.
Diffstat (limited to 'Modules/Platform/Linux-Intel-Fortran.cmake')
-rw-r--r--Modules/Platform/Linux-Intel-Fortran.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/Platform/Linux-Intel-Fortran.cmake b/Modules/Platform/Linux-Intel-Fortran.cmake
index da3b935..60925c4 100644
--- a/Modules/Platform/Linux-Intel-Fortran.cmake
+++ b/Modules/Platform/Linux-Intel-Fortran.cmake
@@ -12,5 +12,4 @@ SET(CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS "-shared -i_dynamic -nofor_main")
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,")
SET(CMAKE_DL_LIBS "dl")