summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-build.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-07-07 11:41:27 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-07-07 11:41:27 +0200
commitb2c5d21f08c39bb69fbcaedc5547b811ec1b7cc6 (patch)
tree5cf4830de6a3da853781842e1311cae144c000be /cmake/opentrack-build.cmake
parent3e41fcf185f26a55af539278bd4fbd461a699f02 (diff)
cmake: force 64-bit build on OSX unconditionally
Diffstat (limited to 'cmake/opentrack-build.cmake')
-rw-r--r--cmake/opentrack-build.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/opentrack-build.cmake b/cmake/opentrack-build.cmake
index 6f23f561..a6cdcda3 100644
--- a/cmake/opentrack-build.cmake
+++ b/cmake/opentrack-build.cmake
@@ -3,3 +3,7 @@ if(NOT CMAKE_INSTALL_PREFIX)
endif()
set(CMAKE_BUILD_TYPE_INIT "RELEASE")
+
+if(APPLE)
+ set(CMAKE_OSX_ARCHITECTURES "x86_64" CACHE STRING "" FORCE)
+endif()