summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeForceCompiler.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-07-11 21:29:27 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-07-11 21:29:27 (GMT)
commit16705a3e87f3f8a877b5fe8dc1e953c7abca4da3 (patch)
treeb0d172432a933f384da65b00d0ff031ff2f39b41 /Modules/CMakeForceCompiler.cmake
parentbea1a5de771832463299146b4f2e4317c37f30bc (diff)
downloadCMake-16705a3e87f3f8a877b5fe8dc1e953c7abca4da3.zip
CMake-16705a3e87f3f8a877b5fe8dc1e953c7abca4da3.tar.gz
CMake-16705a3e87f3f8a877b5fe8dc1e953c7abca4da3.tar.bz2
COMP: revert last commit for now, broke Visual Studio
Alex
Diffstat (limited to 'Modules/CMakeForceCompiler.cmake')
-rw-r--r--Modules/CMakeForceCompiler.cmake11
1 files changed, 0 insertions, 11 deletions
diff --git a/Modules/CMakeForceCompiler.cmake b/Modules/CMakeForceCompiler.cmake
index 751fd78..d104ad9 100644
--- a/Modules/CMakeForceCompiler.cmake
+++ b/Modules/CMakeForceCompiler.cmake
@@ -38,12 +38,6 @@ MACRO(CMAKE_FORCE_C_COMPILER compiler id sizeof_void)
SET(CMAKE_C_COMPILER_ID_RUN TRUE)
SET(CMAKE_C_COMPILER_ID ${id})
SET(CMAKE_C_COMPILER_WORKS TRUE)
-
- # Set old compiler and platform id variables.
- IF("${CMAKE_C_COMPILER_ID}" MATCHES "GNU")
- SET(CMAKE_COMPILER_IS_GNUCC 1)
- ENDIF("${CMAKE_C_COMPILER_ID}" MATCHES "GNU")
-
SET(CMAKE_SIZEOF_VOID_P ${sizeof_void} CACHE STRING "sizeof void")
SET(HAVE_CMAKE_SIZEOF_VOID_P TRUE CACHE INTERNAL "have sizeof void")
ENDMACRO(CMAKE_FORCE_C_COMPILER)
@@ -53,10 +47,5 @@ MACRO(CMAKE_FORCE_CXX_COMPILER compiler id)
SET(CMAKE_CXX_COMPILER_ID_RUN TRUE)
SET(CMAKE_CXX_COMPILER_ID ${id})
SET(CMAKE_CXX_COMPILER_WORKS TRUE)
-
- IF("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU")
- SET(CMAKE_COMPILER_IS_GNUCXX 1)
- ENDIF("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU")
-
ENDMACRO(CMAKE_FORCE_CXX_COMPILER)