mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-05 00:55:44 +01:00
d79cdc76b7
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
20 lines
858 B
Diff
20 lines
858 B
Diff
diff -Naur odamex-src-0.9.5/client/CMakeLists.txt odamex-src-0.9.5.patched/client/CMakeLists.txt
|
|
--- odamex-src-0.9.5/client/CMakeLists.txt 2021-09-08 23:18:23.000000000 -0400
|
|
+++ odamex-src-0.9.5.patched/client/CMakeLists.txt 2022-01-01 14:36:43.305448361 -0500
|
|
@@ -65,8 +65,6 @@
|
|
|
|
# PortMidi
|
|
if(ENABLE_PORTMIDI)
|
|
- find_package(PortMidi)
|
|
- if(NOT PORTMIDI_FOUND)
|
|
# build the PortMidi library
|
|
set(PORTMIDI_LIBRARY "portmidi")
|
|
set(PORTMIDI_LIBRARIES ${PORTMIDI_LIBRARY})
|
|
@@ -107,7 +105,6 @@
|
|
add_library(${PORTMIDI_LIBRARY} STATIC ${PORTMIDI_SOURCES} ${PORTMIDI_HEADERS})
|
|
target_link_libraries(${PORTMIDI_LIBRARY} ${PM_NEEDED_LIBS})
|
|
message(STATUS "portmidi will be built and staticaly linked when compiling the client application.")
|
|
- endif()
|
|
|
|
add_definitions(-DPORTMIDI)
|
|
include_directories(${PORTMIDI_INCLUDE_DIR})
|