Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

doom64ex cmake patch

By: a guest on Mar 26th, 2012  |  syntax: CMake  |  size: 0.63 KB  |  views: 57  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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)
clone this paste RAW Paste Data