Update, requires fifechan to be accepted first. OBS-URL: https://build.opensuse.org/request/show/460923 OBS-URL: https://build.opensuse.org/package/show/games/fife?expand=0&rev=22
20 lines
746 B
Diff
20 lines
746 B
Diff
diff -Nur fifengine-0.4.1/CMakeLists.txt new/CMakeLists.txt
|
|
--- fifengine-0.4.1/CMakeLists.txt 2017-02-26 12:07:34.629050000 +0100
|
|
+++ new/CMakeLists.txt 2017-02-26 12:08:35.313437287 +0100
|
|
@@ -919,7 +919,14 @@
|
|
target_link_libraries(fife ${OGG_LIBRARIES})
|
|
target_link_libraries(fife ${TinyXML_LIBRARIES})
|
|
target_link_libraries(fife ${OPENGL_gl_LIBRARY})
|
|
- target_link_libraries(fife ${FIFECHAN_LIBRARIES})
|
|
+
|
|
+ if(fifechan)
|
|
+ target_link_libraries(fife ${FIFECHAN_LIBRARIES})
|
|
+ endif(fifechan)
|
|
+ if(cegui)
|
|
+ target_link_libraries(fife ${CEGUI_LIBRARIES})
|
|
+ target_link_libraries(fife ${CEGUI_OpenGLRenderer_LIBRARIES})
|
|
+ endif(cegui)
|
|
|
|
include(GNUInstallDirs)
|
|
install(TARGETS fife DESTINATION ${CMAKE_INSTALL_LIBDIR})
|