SET(INSTALL_SUBDIR_SHARE "data" CACHE STRING "Installation subdir for data")
SET(INSTALL_SUBDIR_DOC "." CACHE STRING "Installation subdir for docs")
- INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/SDL.dll
- ${CMAKE_CURRENT_SOURCE_DIR}/SDL_image.dll
- ${CMAKE_CURRENT_SOURCE_DIR}/iconv.dll
- ${CMAKE_CURRENT_SOURCE_DIR}/libogg-0.dll
- ${CMAKE_CURRENT_SOURCE_DIR}/libphysfs-1-0-0.dll
- ${CMAKE_CURRENT_SOURCE_DIR}/OpenAl32.dll
- ${CMAKE_CURRENT_SOURCE_DIR}/wrap_oal.dll
- ${CMAKE_CURRENT_SOURCE_DIR}/libcurl-4.dll DESTINATION ${INSTALL_SUBDIR_BIN})
+ FILE(GLOB DLLS "${CMAKE_CURRENT_SOURCE_DIR}/*.dll")
+ INSTALL(FILES ${DLLS} DESTINATION ${INSTALL_SUBDIR_BIN})
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/images/engine/icons/supertux.png ${CMAKE_CURRENT_SOURCE_DIR}/data/images/engine/icons/supertux.ico DESTINATION ".")
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
SET(CPACK_PACKAGE_VERSION_MAJOR "0")
SET(CPACK_PACKAGE_VERSION_MINOR "3")
-SET(CPACK_PACKAGE_VERSION_PATCH "2-SVN")
+SET(CPACK_PACKAGE_VERSION_PATCH "3-SVN")
SET(CPACK_PACKAGE_INSTALL_DIRECTORY "SuperTux ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
SET(CPACK_PACKAGE_EXECUTABLES "..\\\\supertux2" "SuperTux ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
IF(WIN32 AND NOT UNIX)