File use_bundled_basis_universal.patch of Package emptyepsilon

--- SeriousProton-EE-2023.06.17/libs/basis_universal/CMakeLists.txt	2022-03-15 23:05:53.000000000 +0100
+++ /var/tmp/build-root/openSUSE_Tumbleweed-x86_64//home/abuild/rpmbuild/SOURCES/SeriousProton-EE-2022.03.16/libs/basis_universal/CMakeLists.txt	2022-09-14 16:11:34.683294183 +0200
@@ -30,8 +30,10 @@
 
 if(NOT basis_POPULATED)
     if(COMMAND FetchContent_Populate)
-        FetchContent_Populate(basis)
     endif()
+    set(BASIS_BASE_PATH "${EXTERNALS_DIR}")
+    set(basis_SOURCE_DIR "${BASIS_BASE_PATH}/basis")
+    message("${basis_SOURCE_DIR}/encoder/basisu_backend.cpp")
     if(CMAKE_SIZEOF_VOID_P EQUAL 8)
         set(BUILD_X64 FALSE CACHE BOOL "")
     endif()
@@ -117,4 +119,4 @@
     )
     target_compile_features(basisu-transcoder PUBLIC cxx_std_11)
     target_include_directories(basisu-transcoder INTERFACE "${basis_SOURCE_DIR}")
-endif()
\ Kein Zeilenumbruch am Dateiende.
+endif()
openSUSE Build Service is sponsored by