Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Make run.sh script executable after running cpack.

  • Loading branch information...
commit 476d5281438f5c1ff8edc2bb60fcee1857782d0f 1 parent 7965f24
ppetrov authored

Showing 1 changed file with 4 additions and 8 deletions. Show diff stats Hide diff stats

  1. +4 8 CMakeLists.txt
12 CMakeLists.txt
@@ -147,15 +147,13 @@ if (NOT SOUND STREQUAL "NO")
147 147 FMOD_LIBRARY
148 148 NAMES ${FMOD_LIB_NAME}
149 149 PATHS "/usr/lib" "/usr/local/lib/"
150   - HINTS "${FMOD_PATH}/lib"
151   - )
  150 + HINTS "${FMOD_PATH}/lib")
152 151
153 152 find_library(
154 153 FMOD_LIBRARY_SO_PATH
155 154 NAMES ${FMOD_SO_NAME}
156 155 PATHS "/usr/lib" "/usr/local/lib/"
157   - HINTS "${FMOD_PATH}" "${FMOD_PATH}/lib"
158   - )
  156 + HINTS "${FMOD_PATH}" "${FMOD_PATH}/lib")
159 157
160 158 if (NOT FMOD_LIBRARY)
161 159 message(STATUS "FModEx lib - ${FMOD_LIB_NAME} not found! Will compile without sound support.")
@@ -210,15 +208,13 @@ configure_file (
210 208 "${PROJECT_SOURCE_DIR}/Config.h.in"
211 209 "${PROJECT_SOURCE_DIR}/src/Config.h")
212 210
213   -INSTALL(TARGETS savagewheels
214   - RUNTIME DESTINATION ${INSTALL_DIR})
  211 +INSTALL(TARGETS savagewheels RUNTIME DESTINATION ${INSTALL_DIR})
  212 +INSTALL(PROGRAMS "${CMAKE_CURRENT_SOURCE_DIR}/run.sh" DESTINATION ${INSTALL_DIR})
215 213 INSTALL(FILES
216 214 "${CMAKE_CURRENT_BINARY_DIR}/${SDL_LIB_NAME}"
217   - "${CMAKE_CURRENT_SOURCE_DIR}/run.sh"
218 215 "${CMAKE_CURRENT_SOURCE_DIR}/README.md"
219 216 "${CMAKE_CURRENT_SOURCE_DIR}/HISTORY"
220 217 "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE"
221   -# "${CMAKE_CURRENT_SOURCE_DIR}/sw1.ico"
222 218 DESTINATION ${INSTALL_DIR})
223 219 INSTALL(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/bin/"
224 220 DESTINATION ${INSTALL_DIR}

0 comments on commit 476d528

Please sign in to comment.
Something went wrong with that request. Please try again.