guix-play/gnu/packages/patches/gzdoom-find-system-libgme.patch
Tobias Geerinckx-Rice 570b89f401
gnu: gzdoom: Update to 4.3.2.
* gnu/packages/games.scm (gzdoom): Update to 4.3.2.
[source]: Use GIT-FETCH and GIT-FILE-NAME.  Apply system libgme patch.
Update snippet.
[arguments]: Allow system libgme.  Update substitution file names.
[inputs]: Use fluidsynth@2.
* gnu/packages/patches/gzdoom-find-system-libgme.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2020-01-21 00:43:24 +01:00

22 lines
649 B
Diff

--- /CMakeLists.txt 2020-01-20 21:47:35.460119141 +0100
+++ /CMakeLists.txt 2020-01-20 21:47:47.690112400 +0100
@@ -195,12 +195,12 @@
#endif()
# GME
-#find_path( GME_INCLUDE_DIR gme/gme.h )
-#find_library( GME_LIBRARIES gme )
-#mark_as_advanced( GME_INCLUDE_DIR GME_LIBRARIES )
-#FIND_PACKAGE_HANDLE_STANDARD_ARGS( GME
-# REQUIRED_VARS GME_LIBRARIES GME_INCLUDE_DIR
-#)
+find_path( GME_INCLUDE_DIR gme/gme.h )
+find_library( GME_LIBRARIES gme )
+mark_as_advanced( GME_INCLUDE_DIR GME_LIBRARIES )
+FIND_PACKAGE_HANDLE_STANDARD_ARGS( GME
+ REQUIRED_VARS GME_LIBRARIES GME_INCLUDE_DIR
+)
if( MSVC )
# Eliminate unreferenced functions and data