From: Neal Gompa Date: Sat, 15 May 2010 23:38:33 +0000 (-0500) Subject: Looks like Windows users aren't the only ones that need to be handled carefully.... X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=e53470418afab971b5dac09affbcbcdd73fe5c3f;p=lugaru.git Looks like Windows users aren't the only ones that need to be handled carefully. Made CMake scripts copy SDL dylib as part of install build process on Mac OS X. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 997b41b..88f3e50 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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})