diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-12-26 17:32:49 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-12-26 17:45:01 +0100 |
commit | 5cb620108a6843d44e0a65daac93f2d55ab1eb64 (patch) | |
tree | be8b1dd48e0196ae98e73070584fafca976df7d7 /cmake/opentrack-platform.cmake | |
parent | 51250d659681868b8adacd300099a82c0368f7f9 (diff) |
cmake: fix Intel detection on win32
Diffstat (limited to 'cmake/opentrack-platform.cmake')
-rw-r--r-- | cmake/opentrack-platform.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/opentrack-platform.cmake b/cmake/opentrack-platform.cmake index adfe58cc..1dd9c3cb 100644 --- a/cmake/opentrack-platform.cmake +++ b/cmake/opentrack-platform.cmake @@ -77,6 +77,8 @@ if(APPLE AND NOT CMAKE_OSX_ARCHITECTURES) set(opentrack-intel TRUE) elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "amd64.*|x86_64.*|AMD64.*|i[0-9]86.*|x86.*") set(opentrack-intel TRUE) +elseif(MSVC AND CMAKE_SYSTEM_NAME STREQUAL "Windows" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "") + set(opentrack-intel TRUE) else() set(opentrack-intel FALSE) endif() |