summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-build.cmake
diff options
context:
space:
mode:
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()