From 2ae6df47fcdfd5a2bd63d48feaa0c577965ae7ab Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Sun, 29 Jul 2018 08:04:42 +0200 Subject: [PATCH] CMake: Set -DMACOS_FATLIB=OFF by default Homebrew doesn't ship 32-bit libraries anymore, so using both -DUSE_EXTERNAL_GLFW and -DMACOS_FATLIB with a Homebrew GLFW would fail. With -DUSE_EXTERNAL_GLFW=OFF, this is not a problem, but I think keeping it off by default makes more sense. If someone wants universal libraries, they can just toggle it. --- src/CMakeOptions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeOptions.txt b/src/CMakeOptions.txt index f3851487..79f09414 100644 --- a/src/CMakeOptions.txt +++ b/src/CMakeOptions.txt @@ -10,7 +10,7 @@ enum_option(OPENGL_VERSION "OFF;3.3;2.1;1.1;ES 2.0" "Force a specific OpenGL Ver option(WITH_PIC "Compile static library as position-independent code" OFF) option(SHARED "Build raylib as a dynamic library" OFF) option(STATIC "Build raylib as a static library" ON) -option(MACOS_FATLIB "Build fat library for both i386 and x86_64 on macOS" ON) +option(MACOS_FATLIB "Build fat library for both i386 and x86_64 on macOS" OFF) option(USE_AUDIO "Build raylib with audio module" ON) if(${PLATFORM} MATCHES "Web") cmake_dependent_option(USE_OPENAL_BACKEND "Link raylib with openAL instead of mini-al" ON "USE_AUDIO" OFF)