diff options
Diffstat (limited to 'cmake/package_name.cmake')
-rw-r--r-- | cmake/package_name.cmake | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cmake/package_name.cmake b/cmake/package_name.cmake index ff7f5ba7..9c25e426 100644 --- a/cmake/package_name.cmake +++ b/cmake/package_name.cmake @@ -102,11 +102,7 @@ IF(NOT VERSION) SET(DEFAULT_MACHINE "${CMAKE_OSX_ARCHITECTURES}") ENDIF() ELSE() - IF(64BIT) - SET(DEFAULT_MACHINE "x86_64") - ELSE() - SET(DEFAULT_MACHINE "i386") - ENDIF() + SET(DEFAULT_MACHINE ${CMAKE_SYSTEM_PROCESSOR}) ENDIF() IF(DEFAULT_MACHINE MATCHES "i386") |