mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
570b89f401
* 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.
21 lines
649 B
Diff
21 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
|