--- 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")