]> git.jsancho.org Git - lugaru.git/commitdiff
Looks like Windows users aren't the only ones that need to be handled carefully....
authorNeal Gompa <ngompa13@gmail.com>
Sat, 15 May 2010 23:38:33 +0000 (18:38 -0500)
committerNeal Gompa <ngompa13@gmail.com>
Sat, 15 May 2010 23:38:33 +0000 (18:38 -0500)
CMakeLists.txt

index 997b41b894d231bbd6307e77e181b30c0534f22c..88f3e50f605b2738b00771022e032d13ba5541b3 100644 (file)
@@ -504,6 +504,9 @@ if(WIN32)
        endif(MINGW)
 else(WIN32)
        install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/lugaru DESTINATION ${CMAKE_INSTALL_PREFIX})
+       if(APPLE)
+               install(FILES ${SDLDIR}/lib/macosx/libSDL-1.2.0.dylib DESTINATION ${CMAKE_INSTALL_PREFIX})
+       endif(APPLE)
 endif(WIN32)
 
 install(DIRECTORY ${CMAKE_SOURCE_DIR}/Data DESTINATION ${CMAKE_INSTALL_PREFIX})