widelands: fix mesa conflict

This commit is contained in:
Mohamed Akram
2024-12-15 23:32:02 +04:00
parent b5f6fe0323
commit 402b1c2ea3
2 changed files with 14 additions and 0 deletions
+3
View File
@@ -62,6 +62,9 @@ if {${subport} eq ${name}} {
This port follows the master version of ${name}, which is typically updated every few weeks.
}
# ensure mesa isn't picked up by the build
patchfiles patch-fix-opengl.diff
compiler.cxx_standard 2017
configure.args-append -DCMAKE_INSTALL_PREFIX:PATH="${applications_dir}/Widelands.app/Contents/MacOS" \
@@ -0,0 +1,11 @@
--- CMakeLists.txt.orig 2024-11-13 00:03:25
+++ CMakeLists.txt 2024-12-15 23:30:20
@@ -17,8 +17,6 @@
option(OPTION_TSAN "Build with ThreadSanitizer" OFF)
option(OPTION_FORCE_EMBEDDED_MINIZIP "Use embedded minizip sources" OFF)
option(USE_XDG "Follow XDG-Basedir specification" ON) # Enabled by default
-
-set(CMAKE_FIND_FRAMEWORK LAST)
# Absolute path reference for submodules
set(WL_ROOT_DIR "${CMAKE_CURRENT_SOURCE_DIR}")