From ca91758fdec79211bd7d90bf580b1022d57a1db5 Mon Sep 17 00:00:00 2001 From: DRC Date: Mon, 8 Aug 2011 03:22:15 +0000 Subject: 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 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') 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) -- cgit v1.2.3