summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-06-04 21:08:46 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-06-04 21:08:46 (GMT)
commit74750610cf29e5c0b92feb1f7b8c030e1f0e8448 (patch)
treebb1e7eedaf39b41cb4de3545a521eaa325d22689 /Modules/Platform
parente40c51dddf7428d25543c0f05d6a6cc16454c97f (diff)
downloadCMake-74750610cf29e5c0b92feb1f7b8c030e1f0e8448.zip
CMake-74750610cf29e5c0b92feb1f7b8c030e1f0e8448.tar.gz
CMake-74750610cf29e5c0b92feb1f7b8c030e1f0e8448.tar.bz2
ENH: determine typesize by compiling a file and reading strings from the compiled output.
Tested with various gcc, XCode, MSVC7, sdcc For OSX when doing TRY_COMPILE() CMAKE_OSX_ARCHITECTURES is used, if there are different results an error is generated. CMAKE_OSX_ARCHITECTURES can be overwritten for the TRY_COMPILES with CMAKE_TRY_COMPILE_OSX_ARCHITECTURES. Alex
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/Darwin.cmake5
1 files changed, 0 insertions, 5 deletions
diff --git a/Modules/Platform/Darwin.cmake b/Modules/Platform/Darwin.cmake
index 8e5e949..9aa36af 100644
--- a/Modules/Platform/Darwin.cmake
+++ b/Modules/Platform/Darwin.cmake
@@ -113,8 +113,3 @@ SET(CMAKE_SYSTEM_APPBUNDLE_PATH
INCLUDE(Platform/UnixPaths)
SET(CMAKE_SYSTEM_INCLUDE_PATH ${CMAKE_SYSTEM_INCLUDE_PATH} /sw/include)
SET(CMAKE_SYSTEM_LIBRARY_PATH ${CMAKE_SYSTEM_LIBRARY_PATH} /sw/lib)
-
-IF(CMAKE_OSX_ARCHITECTURES)
- SET(CMAKE_TRY_COMPILE_PLATFORM_OPTIONS "${CMAKE_TRY_COMPILE_PLATFORM_OPTIONS}
- SET(CMAKE_OSX_ARCHITECTURES \"${CMAKE_OSX_ARCHITECTURES}\")")
-ENDIF(CMAKE_OSX_ARCHITECTURES)