diff options
author | Brad King <brad.king@kitware.com> | 2010-05-06 15:23:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-05-06 15:26:49 (GMT) |
commit | a443308c37c41edf75dabaf87feee33bb57212b6 (patch) | |
tree | 7a7b3b69a975baf61ffabe9ee8a57358203a31c5 /Modules/CMakeDetermineCompilerABI.cmake | |
parent | aa1450bda1d8a6751e6459e83786918cc0a7124a (diff) | |
download | CMake-a443308c37c41edf75dabaf87feee33bb57212b6.zip CMake-a443308c37c41edf75dabaf87feee33bb57212b6.tar.gz CMake-a443308c37c41edf75dabaf87feee33bb57212b6.tar.bz2 |
Load compiler information after configuring it
After configuring CMakeFiles/CMake<lang>Compiler.cmake in the build tree
the second time (to store ABI information), include it immediately.
This allows any logic and settings in the compiler information files to
be used without duplicating it in CMakeDetermineCompilerABI.cmake.
The change in commit "Use Fortran ABI detection results conservatively"
(2010-05-05) needs this to use the same logic to set CMAKE_SIZEOF_VOID_P
during first and later runs of CMake.
Diffstat (limited to 'Modules/CMakeDetermineCompilerABI.cmake')
-rw-r--r-- | Modules/CMakeDetermineCompilerABI.cmake | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/CMakeDetermineCompilerABI.cmake b/Modules/CMakeDetermineCompilerABI.cmake index c8f4c99..aa4733b 100644 --- a/Modules/CMakeDetermineCompilerABI.cmake +++ b/Modules/CMakeDetermineCompilerABI.cmake @@ -49,12 +49,10 @@ FUNCTION(CMAKE_DETERMINE_COMPILER_ABI lang src) IF(ABI_SIZEOF_DPTR) SET(CMAKE_${lang}_SIZEOF_DATA_PTR "${ABI_SIZEOF_DPTR}" PARENT_SCOPE) - SET(CMAKE_SIZEOF_VOID_P "${ABI_SIZEOF_DPTR}" PARENT_SCOPE) ENDIF(ABI_SIZEOF_DPTR) IF(ABI_NAME) SET(CMAKE_${lang}_COMPILER_ABI "${ABI_NAME}" PARENT_SCOPE) - SET(CMAKE_INTERNAL_PLATFORM_ABI "${ABI_NAME}" PARENT_SCOPE) ENDIF(ABI_NAME) # Parse implicit linker information for this language, if available. |