summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Linux.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-10-01 17:24:51 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-10-01 17:24:51 (GMT)
commit6a1a1b632d56d212226fc17e6aced259add362de (patch)
treefeb79f5d62add92ea380696a3936fb76a81965aa /Modules/Platform/Linux.cmake
parent4c17c9b87b24cc2239486a55c1d552a484c65a22 (diff)
downloadCMake-6a1a1b632d56d212226fc17e6aced259add362de.zip
CMake-6a1a1b632d56d212226fc17e6aced259add362de.tar.gz
CMake-6a1a1b632d56d212226fc17e6aced259add362de.tar.bz2
BUG: fix for bug 4772, enable_language should now work on linux with correct flags
Diffstat (limited to 'Modules/Platform/Linux.cmake')
-rw-r--r--Modules/Platform/Linux.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Platform/Linux.cmake b/Modules/Platform/Linux.cmake
index eba4bb3..4e4c2cb 100644
--- a/Modules/Platform/Linux.cmake
+++ b/Modules/Platform/Linux.cmake
@@ -59,3 +59,5 @@ INCLUDE(Platform/UnixPaths)
IF(EXISTS "/etc/debian_version")
SET_PROPERTY(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS FALSE)
ENDIF(EXISTS "/etc/debian_version")
+# always include the gcc compiler information
+INCLUDE(Platform/gcc)