raylib/raylib-3.0.0-noexamples.patch
Michael Vetter 3964b1ecd5 - Switch to noexamples tarball as requested in:
https://github.com/raysan5/raylib/issues/1180
  So we don't ship examples with various licenses that we don't
  install anyways.
- Add raylib-3.0.0-noexamples.patch: dont try to install examples
  Raysan seems to have forgotten that.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/raylib?expand=0&rev=24
2020-04-29 20:18:53 +00:00

17 lines
400 B
Diff

diff -urEbw raylib-3.0.0/CMakeLists.txt raylib-3.0.0.new/CMakeLists.txt
--- raylib-3.0.0/CMakeLists.txt 2020-04-01 11:07:01.000000000 +0200
+++ raylib-3.0.0.new/CMakeLists.txt 2020-04-29 22:12:32.184784329 +0200
@@ -43,12 +43,4 @@
add_subdirectory(src)
-if (${BUILD_EXAMPLES})
- add_subdirectory(examples)
-endif()
-
-if (${BUILD_GAMES})
- add_subdirectory(games)
-endif()
-
enable_testing()