summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDRC <dcommander@users.sourceforge.net>2011-08-08 03:22:15 +0000
committerDRC <dcommander@users.sourceforge.net>2011-08-08 03:22:15 +0000
commitca91758fdec79211bd7d90bf580b1022d57a1db5 (patch)
tree59cba5431ae9d2a770c53d276be473886735f8a1 /CMakeLists.txt
parentd62482e0130522ce4cdbe6c7e54242b07352047e (diff)
downloadtigervnc-ca91758fdec79211bd7d90bf580b1022d57a1db5.tar.gz
tigervnc-ca91758fdec79211bd7d90bf580b1022d57a1db5.zip
Oops. The 64BIT variable is a carry-over from VirtualGL. TigerVNC's build system doesn't define it.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4613 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4a95961c..d30411c8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -115,7 +115,7 @@ if(CMAKE_COMPILER_IS_GNUCXX AND NOT APPLE AND NOT CYGWIN)
if(BUILD_STATIC)
# For some reason, simply passing ${CMAKE_CXX_FLAGS} to the compiler in
# execute_process() doesn't work. Grrr...
- if(64BIT)
+ if(CMAKE_SIZEOF_VOID_P MATCHES 8)
execute_process(COMMAND ${CMAKE_CXX_COMPILER} -m64
--print-file-name=libstdc++.a OUTPUT_VARIABLE LIBSTDCPLUSPLUS
RESULT_VARIABLE RESULT)