File usc-game-reproduce.patch of Package unnamed-sdvx-clone

diff '--color=auto' -u --recursive ./unnamed-sdvx-clone.old/CMakeLists.txt ./unnamed-sdvx-clone/CMakeLists.txt
--- ./unnamed-sdvx-clone.old/CMakeLists.txt	2024-06-27 21:19:41.780957697 -0500
+++ ./unnamed-sdvx-clone/CMakeLists.txt	2024-06-27 21:21:18.501896177 -0500
@@ -145,8 +145,6 @@
     # Put all third party libraries in a seperate folder in the VS solution
     set_target_properties(cpr PROPERTIES FOLDER "Third Party")
     set_target_properties(nanovg PROPERTIES FOLDER "Third Party")
-    set_target_properties(sqlite3 PROPERTIES FOLDER "Third Party")
-    set_target_properties(discord-rpc PROPERTIES FOLDER "Third Party")
     set_target_properties(minimp3 PROPERTIES FOLDER "Third Party")
     set_target_properties(soundtouch PROPERTIES FOLDER "Third Party")
     set_target_properties(lua PROPERTIES FOLDER "Third Party")
diff '--color=auto' -u --recursive ./unnamed-sdvx-clone.old/third_party/CMakeLists.txt ./unnamed-sdvx-clone/third_party/CMakeLists.txt
--- ./unnamed-sdvx-clone.old/third_party/CMakeLists.txt	2024-06-27 21:19:41.860958473 -0500
+++ ./unnamed-sdvx-clone/third_party/CMakeLists.txt	2024-06-27 21:22:44.059393003 -0500
@@ -18,8 +18,6 @@
 #discord example program
 set(CLANG_FORMAT_SUFFIX "ignore") #try to disable clang formatter
 option(BUILD_EXAMPLES "Build example apps" OFF)
-add_subdirectory(discord-rpc)
-target_include_directories(discord-rpc PUBLIC discord-rpc/include)
 
 #nanovg
 add_library(nanovg nanovg/src/nanovg.c)
@@ -36,14 +34,6 @@
 add_library(nlohmann_json INTERFACE)
 target_include_directories(nlohmann_json INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/nlohmann_json)
 
-#sqlite
-add_library(sqlite3
-    sqlite3/sqlite3.c
-    sqlite3/sqlite3.h
-    sqlite3/sqlite3ext.h
-)
-target_include_directories(sqlite3 PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/sqlite3)
-
 #minimp3
 add_library(minimp3
     minimp3/minimp3.c
@@ -87,25 +77,12 @@
 target_include_directories(soundtouch PUBLIC soundtouch/include)
 target_include_directories(soundtouch PRIVATE soundtouch/src)
 
-#GLEW
-add_library(GLEW
-    glew/include/GL/glew.h
-    glew/include/GL/glxew.h
-    glew/include/GL/wglew.h
-    glew/src/glew.c
-)
-# GLEW is included statically and also doesn't need GLU(Which doesn't even exist on linux)
-target_compile_definitions(GLEW PUBLIC -DGLEW_NO_GLU -DGLEW_STATIC)
-target_include_directories(GLEW PUBLIC glew/include)
 
 # Enable multiprocess compiling
 if(MSVC)
     target_compile_options(cpr PRIVATE /MP)
-    target_compile_options(discord-rpc PRIVATE /MP)
-    target_compile_options(GLEW PRIVATE /MP)
     target_compile_options(lua PRIVATE /MP)
     target_compile_options(minimp3 PRIVATE /MP)
     target_compile_options(nanovg PRIVATE /MP)
     target_compile_options(soundtouch PRIVATE /MP)
-    target_compile_options(sqlite3 PRIVATE /MP)
 endif(MSVC)
openSUSE Build Service is sponsored by