diff options
author | Armin Weatherwax | 2010-06-17 11:15:54 +0200 |
---|---|---|
committer | Armin Weatherwax | 2010-09-23 15:42:39 +0200 |
commit | c4891694b7c8fcc469dfa057ebf397ee28fc44b1 (patch) | |
tree | 75d1ea097989c8f54c89bd0a1b5da9bac0e74db9 /linden/indra/cmake/00-Common.cmake | |
parent | update llplugin to latest version of SG2, pull latest webkit (diff) | |
download | meta-impy-c4891694b7c8fcc469dfa057ebf397ee28fc44b1.zip meta-impy-c4891694b7c8fcc469dfa057ebf397ee28fc44b1.tar.gz meta-impy-c4891694b7c8fcc469dfa057ebf397ee28fc44b1.tar.bz2 meta-impy-c4891694b7c8fcc469dfa057ebf397ee28fc44b1.tar.xz |
Robin Cornelius: fixes for building plugins on Linux 64bit
Diffstat (limited to 'linden/indra/cmake/00-Common.cmake')
-rw-r--r-- | linden/indra/cmake/00-Common.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linden/indra/cmake/00-Common.cmake b/linden/indra/cmake/00-Common.cmake index d335cb0..6403d49 100644 --- a/linden/indra/cmake/00-Common.cmake +++ b/linden/indra/cmake/00-Common.cmake | |||
@@ -20,6 +20,14 @@ set(CMAKE_CONFIGURATION_TYPES "RelWithDebInfo;Release;Debug" CACHE STRING | |||
20 | "Supported build types." FORCE) | 20 | "Supported build types." FORCE) |
21 | 21 | ||
22 | 22 | ||
23 | # Determine the number of bits of this processor | ||
24 | |||
25 | if(CMAKE_SIZEOF_VOID_P MATCHES 4) | ||
26 | set( HAVE_64_BIT 0 ) | ||
27 | else(CMAKE_SIZEOF_VOID_P MATCHES 4) | ||
28 | set( HAVE_64_BIT 1 ) | ||
29 | endif(CMAKE_SIZEOF_VOID_P MATCHES 4) | ||
30 | |||
23 | # Platform-specific compilation flags. | 31 | # Platform-specific compilation flags. |
24 | 32 | ||
25 | if (WINDOWS) | 33 | if (WINDOWS) |