Skip to content

Commit

Permalink
bugfix for min osx sdk being set incorrectly for glfw / cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
ofTheo authored Jan 1, 2021
1 parent a64ff27 commit 44d2d1e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apothecary/formulas/glfw.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ function build() {
-DGLFW_BUILD_EXAMPLES=OFF \
-DBUILD_SHARED_LIBS=OFF \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_FLAGS="-arch arm64 -arch x86_64 -mmacosx-version-min=${OSX_MIN_SDK_VER}" \
-DCMAKE_OSX_DEPLOYMENT_TARGET=${OSX_MIN_SDK_VER} \
-DCMAKE_C_FLAGS="-arch arm64 -arch x86_64" \
$EXTRA_CONFIG
else
cmake .. -DGLFW_BUILD_DOCS=OFF \
Expand Down

0 comments on commit 44d2d1e

Please sign in to comment.