- Update to 1.0.0 * Support for Wolfenstein 3D and Spear of Destiny Game * Add support for vehicles #30 * Add support for multi-guns * Add support for custom wreck objects and bullets (allows respawning actors on death) * Add support for custom actor death animation * Add option to skip debrief menu * Fix game freeze when returning to game after leaving it paused for a while * Fix duplicate missions in level select * Improve performance by adding max particle limit * Improve level select menu with max items limit * Improve game start menu by disabling continue option after campaign complete Editor * Fix loading a campaign with less missions showing a blank mission #670 * Add per-mission option to persist weapons (can reset weapons on certain missions) * Change map shortcut key to tab - Add patch: * fix-build.patch OBS-URL: https://build.opensuse.org/request/show/913484 OBS-URL: https://build.opensuse.org/package/show/games/cdogs-sdl?expand=0&rev=37
23 lines
564 B
Diff
23 lines
564 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 8429585..94f80aa 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -148,6 +148,9 @@ if(NOT DEFINED CDOGS_DATA_DIR)
|
|
endif()
|
|
endif()
|
|
message("Data dir is ${CDOGS_DATA_DIR}")
|
|
+if(NOT DEFINED DATA_INSTALL_DIR)
|
|
+ set(DATA_INSTALL_DIR "${CDOGS_DATA_DIR}")
|
|
+endif()
|
|
if(WIN32)
|
|
set(CDOGS_CFG_DIR "C-Dogs SDL/")
|
|
else()
|
|
@@ -200,7 +203,6 @@ elseif(APPLE)
|
|
set(INSTALL_PREFIX "cdogs-sdl")
|
|
else()
|
|
set(LIB_EXTENSION ".so")
|
|
- set(DATA_INSTALL_DIR ".")
|
|
endif()
|
|
|
|
# Since Debian wants games binaries in /usr/games
|