nixpkgs/pkgs/games/performous/performous-cmake.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
639 B
Diff
Raw Normal View History

2023-01-16 20:51:47 +01:00
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 48af2a89..43786c31 100644
2020-03-25 18:36:13 +01:00
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
2023-01-16 20:51:47 +01:00
@@ -75,15 +75,7 @@ else()
message(STATUS "Localization disabled: Gettext tools (msgfmt) missing")
endif()
2020-03-25 18:36:13 +01:00
2023-01-16 20:51:47 +01:00
-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
2020-03-25 18:36:13 +01:00
-)
-
2023-01-16 20:51:47 +01:00
-FetchContent_MakeAvailable(ced-sources)
+add_subdirectory(ced-src)
2020-03-25 18:36:13 +01:00
2023-01-16 20:51:47 +01:00
option(USE_SELF_BUILT_AUBIO "Use custom aubio local build instead of using system lib (if available)" FALSE)
2020-03-25 18:36:13 +01:00