about summary refs log tree commit diff
path: root/nixpkgs/pkgs/games/performous/performous-cmake.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/games/performous/performous-cmake.patch')
-rw-r--r--nixpkgs/pkgs/games/performous/performous-cmake.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/games/performous/performous-cmake.patch b/nixpkgs/pkgs/games/performous/performous-cmake.patch
new file mode 100644
index 000000000000..5c1a4c91012b
--- /dev/null
+++ b/nixpkgs/pkgs/games/performous/performous-cmake.patch
@@ -0,0 +1,21 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 48af2a89..43786c31 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -75,15 +75,7 @@ else()
+ 	message(STATUS "Localization disabled: Gettext tools (msgfmt) missing")
+ endif()
+ 
+-include(FetchContent)
+-FetchContent_Declare(ced-sources
+-  GIT_REPOSITORY https://github.com/performous/compact_enc_det.git
+-  #https://github.com/google/compact_enc_det.git
+-  GIT_TAG        master
+-  SOURCE_DIR ced-src
+-)
+-
+-FetchContent_MakeAvailable(ced-sources)
++add_subdirectory(ced-src)
+ 
+ option(USE_SELF_BUILT_AUBIO "Use custom aubio local build instead of using system lib (if available)" FALSE)
+