asteroid/asteroid-1.2.1-CMakeLists.txt.patch
Matthias Mailänder 472a2e97e2 Accepting request 259013 from home:nemysis
-------------------------------------------------------------------
Thu Oct 30 15:23:11 UTC 2014 - nemysis@gmx.ch

- Initial package creation

OBS-URL: https://build.opensuse.org/request/show/259013
OBS-URL: https://build.opensuse.org/package/show/games/asteroid?expand=0&rev=1
2014-10-30 17:21:56 +00:00

12 lines
452 B
Diff

--- CMakeLists.txt.orig 2014-10-15 02:25:30.000000000 +0200
+++ CMakeLists.txt 2014-10-20 13:03:19.908402756 +0200
@@ -31,7 +31,7 @@
endif(SDL_FOUND AND SDLMIXER_FOUND)
# Config header
-set(Asteroid_BUILD_RES_INSTALL_PATH "${CMAKE_INSTALL_PREFIX}/share/asteroid")
+SET(CMAKE_INSTALL_PREFIX "")
configure_file("${PROJECT_SOURCE_DIR}/src/config.h.in" "${PROJECT_BINARY_DIR}/include/config.h")
include_directories("${PROJECT_BINARY_DIR}/include")