From: barate Date: Tue, 12 Mar 2013 09:50:31 +0000 (+0000) Subject: Properly detect Linux 64 bits with CMake X-Git-Tag: V7_1_0~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a6b6064783be42aafdba2e74fcbf2474994427e3;p=modules%2Fkernel.git Properly detect Linux 64 bits with CMake --- diff --git a/salome_adm/cmake_files/FindPLATFORM.cmake b/salome_adm/cmake_files/FindPLATFORM.cmake index 6b21c2238..d5efae4d6 100644 --- a/salome_adm/cmake_files/FindPLATFORM.cmake +++ b/salome_adm/cmake_files/FindPLATFORM.cmake @@ -19,6 +19,8 @@ IF(WINDOWS) SET(MACHINE WINDOWS) +ELSEIF(CMAKE_SIZEOF_VOID_P EQUAL 8) + SET(MACHINE PCLINUX64) ELSE(WINDOWS) SET(MACHINE PCLINUX) ENDIF(WINDOWS)