summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-04-21 14:26:06 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-04-21 14:26:06 (GMT)
commit8913cbffdee9fdff52e18e1ed795277c68acfc2c (patch)
tree9e7eb39f242efecf3230f4b2885e050be638c71c /Modules/Platform
parentf29d881d3df6a52e1f92e946681f393aec5903ee (diff)
downloadCMake-8913cbffdee9fdff52e18e1ed795277c68acfc2c.zip
CMake-8913cbffdee9fdff52e18e1ed795277c68acfc2c.tar.gz
CMake-8913cbffdee9fdff52e18e1ed795277c68acfc2c.tar.bz2
ENH: move stuff from main tree
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/HP-UX.cmake2
-rw-r--r--Modules/Platform/Linux-ifort.cmake2
-rw-r--r--Modules/Platform/Linux.cmake2
-rw-r--r--Modules/Platform/kFreeBSD.cmake2
4 files changed, 4 insertions, 4 deletions
diff --git a/Modules/Platform/HP-UX.cmake b/Modules/Platform/HP-UX.cmake
index bc48657..8c149ed 100644
--- a/Modules/Platform/HP-UX.cmake
+++ b/Modules/Platform/HP-UX.cmake
@@ -1,5 +1,5 @@
SET(CMAKE_SHARED_LIBRARY_SUFFIX ".sl") # .so
-SET(CMAKE_DL_LIBS "-ldld")
+SET(CMAKE_DL_LIBS "dld")
SET(CMAKE_FIND_LIBRARY_SUFFIXES ".sl" ".so" ".a")
SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":") # : or empty
diff --git a/Modules/Platform/Linux-ifort.cmake b/Modules/Platform/Linux-ifort.cmake
index 3a5512f..6d6fcfb 100644
--- a/Modules/Platform/Linux-ifort.cmake
+++ b/Modules/Platform/Linux-ifort.cmake
@@ -1,4 +1,4 @@
-SET(CMAKE_DL_LIBS "-ldl")
+SET(CMAKE_DL_LIBS "dl")
SET(CMAKE_SHARED_LIBRARY_Fortran_FLAGS "-KPIC")
SET(CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS "-shared")
SET(CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS "-i_dynamic")
diff --git a/Modules/Platform/Linux.cmake b/Modules/Platform/Linux.cmake
index 3053f37..6ae2ed5 100644
--- a/Modules/Platform/Linux.cmake
+++ b/Modules/Platform/Linux.cmake
@@ -1,5 +1,5 @@
# GCC is the default compiler on Linux.
-SET(CMAKE_DL_LIBS "-ldl")
+SET(CMAKE_DL_LIBS "dl")
SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-fPIC")
SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared")
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "-rdynamic")
diff --git a/Modules/Platform/kFreeBSD.cmake b/Modules/Platform/kFreeBSD.cmake
index 862d274..70eb52a 100644
--- a/Modules/Platform/kFreeBSD.cmake
+++ b/Modules/Platform/kFreeBSD.cmake
@@ -1,5 +1,5 @@
# kFreeBSD looks just like Linux.
-SET(CMAKE_DL_LIBS "-ldl")
+SET(CMAKE_DL_LIBS "dl")
SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-fPIC")
SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared")
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "-rdynamic")