Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make run.sh script executable after running cpack.

  • Loading branch information...
commit 476d5281438f5c1ff8edc2bb60fcee1857782d0f 1 parent 7965f24
@petarov authored
Showing with 4 additions and 8 deletions.
  1. +4 −8 CMakeLists.txt
View
12 CMakeLists.txt
@@ -147,15 +147,13 @@ if (NOT SOUND STREQUAL "NO")
FMOD_LIBRARY
NAMES ${FMOD_LIB_NAME}
PATHS "/usr/lib" "/usr/local/lib/"
- HINTS "${FMOD_PATH}/lib"
- )
+ HINTS "${FMOD_PATH}/lib")
find_library(
FMOD_LIBRARY_SO_PATH
NAMES ${FMOD_SO_NAME}
PATHS "/usr/lib" "/usr/local/lib/"
- HINTS "${FMOD_PATH}" "${FMOD_PATH}/lib"
- )
+ HINTS "${FMOD_PATH}" "${FMOD_PATH}/lib")
if (NOT FMOD_LIBRARY)
message(STATUS "FModEx lib - ${FMOD_LIB_NAME} not found! Will compile without sound support.")
@@ -210,15 +208,13 @@ configure_file (
"${PROJECT_SOURCE_DIR}/Config.h.in"
"${PROJECT_SOURCE_DIR}/src/Config.h")
-INSTALL(TARGETS savagewheels
- RUNTIME DESTINATION ${INSTALL_DIR})
+INSTALL(TARGETS savagewheels RUNTIME DESTINATION ${INSTALL_DIR})
+INSTALL(PROGRAMS "${CMAKE_CURRENT_SOURCE_DIR}/run.sh" DESTINATION ${INSTALL_DIR})
INSTALL(FILES
"${CMAKE_CURRENT_BINARY_DIR}/${SDL_LIB_NAME}"
- "${CMAKE_CURRENT_SOURCE_DIR}/run.sh"
"${CMAKE_CURRENT_SOURCE_DIR}/README.md"
"${CMAKE_CURRENT_SOURCE_DIR}/HISTORY"
"${CMAKE_CURRENT_SOURCE_DIR}/LICENSE"
-# "${CMAKE_CURRENT_SOURCE_DIR}/sw1.ico"
DESTINATION ${INSTALL_DIR})
INSTALL(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/bin/"
DESTINATION ${INSTALL_DIR}
Please sign in to comment.
Something went wrong with that request. Please try again.