36 lines
1.2 KiB
Diff
36 lines
1.2 KiB
Diff
diff -up ags-3.6.2.12/CMake/FindLocalOpenAL.cmake.orig ags-3.6.2.12/CMake/FindLocalOpenAL.cmake
|
|
--- ags-3.6.2.12/CMake/FindLocalOpenAL.cmake.orig 2025-07-18 23:24:38.000000000 +0200
|
|
+++ ags-3.6.2.12/CMake/FindLocalOpenAL.cmake 2025-07-19 14:03:42.772659440 +0200
|
|
@@ -1,6 +1,6 @@
|
|
# Grab system openAL or use embedded mojoAL
|
|
|
|
-if(WIN32 OR LINUX OR MACOS OR FREEBSD)
|
|
+if(WIN32 OR MACOS OR FREEBSD)
|
|
set(AGS_USE_MOJO_AL TRUE)
|
|
endif()
|
|
|
|
diff -up ags-3.6.2.12/CMakeLists.txt.orig ags-3.6.2.12/CMakeLists.txt
|
|
--- ags-3.6.2.12/CMakeLists.txt.orig 2025-07-18 23:24:38.000000000 +0200
|
|
+++ ags-3.6.2.12/CMakeLists.txt 2025-07-19 14:04:25.748967837 +0200
|
|
@@ -313,9 +313,21 @@ endif()
|
|
include(FindLocalOpenAL)
|
|
include(FindLocalAllegro)
|
|
|
|
+if (NOT AGS_USE_SYSTEM_GLM)
|
|
add_subdirectory(libsrc/glm EXCLUDE_FROM_ALL)
|
|
+else()
|
|
+ find_package(glm REQUIRED)
|
|
+endif()
|
|
+if (NOT AGS_USE_SYSTEM_TINYXML2)
|
|
add_subdirectory(libsrc/tinyxml2 EXCLUDE_FROM_ALL)
|
|
+else()
|
|
+ find_package(tinyxml2 REQUIRED)
|
|
+endif()
|
|
+if (NOT AGS_USE_SYSTEM_MINIZ)
|
|
add_subdirectory(libsrc/miniz EXCLUDE_FROM_ALL)
|
|
+else()
|
|
+ include(FindMiniz)
|
|
+endif()
|
|
|
|
add_subdirectory(Common/libsrc/aastr-0.1.1 EXCLUDE_FROM_ALL)
|
|
|