SHARE
TWEET

doom64ex cmake patch

a guest Mar 26th, 2012 62 Never
  1. Index: CMakeLists.txt
  2. ===================================================================
  3. --- CMakeLists.txt      (revision 1094)
  4. +++ CMakeLists.txt      (working copy)
  5. @@ -125,4 +125,8 @@
  6.         Ext/ChocolateDoom/net_structrw.c
  7.  )
  8.  
  9. -target_link_libraries(doom64ex ${PNG_LIBRARY} ${SDL_LIBRARY} ${FLUIDSYNTH_LIBRARIES} ${SDLNET_LIBRARY} ${OPENGL_LIBRARY})
  10. +IF(UNIX)
  11. +       target_link_libraries(doom64ex ${PNG_LIBRARY} ${SDL_LIBRARY} ${FLUIDSYNTH_LIBRARIES} ${SDLNET_LIBRARY} ${OPENGL_LIBRARY} m dl)
  12. +ELSEIF(UNIX)
  13. +       target_link_libraries(doom64ex ${PNG_LIBRARY} ${SDL_LIBRARY} ${FLUIDSYNTH_LIBRARIES} ${SDLNET_LIBRARY} ${OPENGL_LIBRARY})
  14. +ENDIF(UNIX)
RAW Paste Data
Top