emptyepsilon/use_bundled_meshoptimizer.patch
Dominik Heidler 84e5b04976 - Version 2023.06.17
* added Settings : scavenger, shoreline, Patrolduty
  * Update scenario_47_scavenger.fr.po
  * update scenario_54_PatrolDuty.fr.po
  * Update scenario_57_shoreline.fr.po

OBS-URL: https://build.opensuse.org/package/show/games/emptyepsilon?expand=0&rev=6
2023-09-26 15:17:56 +00:00

16 lines
804 B
Diff

--- EmptyEpsilon-EE-2023.06.17/CMakeLists.txt 2022-03-16 07:43:41.000000000 +0100
+++ /var/tmp/build-root/openSUSE_Tumbleweed-x86_64/home/abuild/rpmbuild/SOURCES/EmptyEpsilon-EE-2022.03.16/CMakeLists.txt 2022-09-14 15:54:47.874043178 +0200
@@ -134,8 +134,11 @@
if(NOT meshoptimizer_POPULATED)
if(COMMAND FetchContent_Populate)
- FetchContent_Populate(meshoptimizer)
endif()
+ set(MESHOPTIMIZER_BASE_PATH "${EXTERNALS_DIR}")
+ set(meshoptimizer_SOURCE_DIR "${MESHOPTIMIZER_BASE_PATH}/meshoptimizer")
+ set(meshoptimizer_BINARY_DIR "${PROJECT_BINARY_DIR}/externals/meshoptimizer")
+ message("add_subdirectory(${meshoptimizer_SOURCE_DIR} ${meshoptimizer_BINARY_DIR} EXCLUDE_FROM_ALL)")
add_subdirectory(${meshoptimizer_SOURCE_DIR} ${meshoptimizer_BINARY_DIR} EXCLUDE_FROM_ALL)
endif()