summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Linux.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-11-08 23:06:53 (GMT)
committerBrad King <brad.king@kitware.com>2002-11-08 23:06:53 (GMT)
commit3a6d52f4c5a2cf7bb0fd0ec0e46cf1802d82c77b (patch)
tree88bd3a8bd7c60b350b8f706f46a6d6f82b5e2088 /Modules/Platform/Linux.cmake
parentc74ce9b21852bfd93d7d13ba70e11967b94a8300 (diff)
downloadCMake-3a6d52f4c5a2cf7bb0fd0ec0e46cf1802d82c77b.zip
CMake-3a6d52f4c5a2cf7bb0fd0ec0e46cf1802d82c77b.tar.gz
CMake-3a6d52f4c5a2cf7bb0fd0ec0e46cf1802d82c77b.tar.bz2
ENH: Moved caching of C*_FLAGS* settings down to CMakeSystemSpecificInformation.cmake. The platform files can set the defaults on the first run, and then the settings are cached at the end.
Diffstat (limited to 'Modules/Platform/Linux.cmake')
-rw-r--r--Modules/Platform/Linux.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/Platform/Linux.cmake b/Modules/Platform/Linux.cmake
index b3091b7..2085c93 100644
--- a/Modules/Platform/Linux.cmake
+++ b/Modules/Platform/Linux.cmake
@@ -1,7 +1,9 @@
+# GCC is the default compiler on Linux.
+INCLUDE(${CMAKE_ROOT}/Modules/Platform/gcc.cmake)
+
SET(CMAKE_DL_LIBS "-ldl")
SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-fPIC")
SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared")
SET(CMAKE_SHARED_LIBRARY_LINK_FLAGS "-rdynamic")
SET(CMAKE_SHARED_LIBRARY_RUNTIME_FLAG "-Wl,-rpath,")
SET(CMAKE_SHARED_LIBRARY_RUNTIME_FLAG_SEP ":")
-