aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/cmake/00-Common.cmake
diff options
context:
space:
mode:
authorArmin Weatherwax2010-06-17 11:15:54 +0200
committerArmin Weatherwax2010-09-23 15:42:39 +0200
commitc4891694b7c8fcc469dfa057ebf397ee28fc44b1 (patch)
tree75d1ea097989c8f54c89bd0a1b5da9bac0e74db9 /linden/indra/cmake/00-Common.cmake
parentupdate llplugin to latest version of SG2, pull latest webkit (diff)
downloadmeta-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.cmake8
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
25if(CMAKE_SIZEOF_VOID_P MATCHES 4)
26 set( HAVE_64_BIT 0 )
27else(CMAKE_SIZEOF_VOID_P MATCHES 4)
28 set( HAVE_64_BIT 1 )
29endif(CMAKE_SIZEOF_VOID_P MATCHES 4)
30
23# Platform-specific compilation flags. 31# Platform-specific compilation flags.
24 32
25if (WINDOWS) 33if (WINDOWS)