diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-12-19 13:32:18 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-12-19 14:17:15 +0100 |
commit | 57ed505df94b189889b7497f820dfb13434822d7 (patch) | |
tree | cec21b8c8ce9bd8a77111c6f7b315fedabf0d439 /cmake/opentrack-platform.cmake | |
parent | 5aec060016c9ececf7690b9f81cac85de063c3ef (diff) |
cmake/word-size: move to cmake/platform
Diffstat (limited to 'cmake/opentrack-platform.cmake')
-rw-r--r-- | cmake/opentrack-platform.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/opentrack-platform.cmake b/cmake/opentrack-platform.cmake index 8cc7d346..64b9fe4d 100644 --- a/cmake/opentrack-platform.cmake +++ b/cmake/opentrack-platform.cmake @@ -39,6 +39,12 @@ else() set(opentrack-intel FALSE) endif() +if(CMAKE_SIZEOF_VOID_P GREATER_EQUAL 8) + set(opentrack-64bit TRUE) +else() + set(opentrack-64bit FALSE) +endif() + if(APPLE) if(NOT CMAKE_OSX_ARCHITECTURES) set(CMAKE_OSX_ARCHITECTURES "x86_64") |