Some install changes to CMakeLists.txt
authorMathnerd314 <man.is.allan@gmail.com>
Tue, 2 Mar 2010 19:00:31 +0000 (19:00 +0000)
committerMathnerd314 <man.is.allan@gmail.com>
Tue, 2 Mar 2010 19:00:31 +0000 (19:00 +0000)
SVN-Revision: 6519

CMakeLists.txt

index cde7975..c707926 100644 (file)
@@ -355,14 +355,8 @@ IF(WIN32 AND NOT UNIX)
   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 ".")
 
@@ -433,7 +427,7 @@ ELSE(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
 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)