1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +02:00

patches from qdii

This commit is contained in:
Ivan Savenko 2013-02-25 19:17:36 +00:00
parent 28d3574b0b
commit 57d23c74ee
2 changed files with 10 additions and 4 deletions

View File

@ -89,9 +89,15 @@ else()
# includes lib path which determines where to install shared libraries (either /lib or /lib64) # includes lib path which determines where to install shared libraries (either /lib or /lib64)
include(GNUInstallDirs) include(GNUInstallDirs)
set(BIN_DIR "bin" CACHE STRING "Where to install binaries") if (NOT BIN_DIR)
set(LIB_DIR "${CMAKE_INSTALL_LIBDIR}/vcmi" CACHE STRING "Where to install main library") set(BIN_DIR "bin" CACHE STRING "Where to install binaries")
set(DATA_DIR "share/vcmi" CACHE STRING "Where to install data files") endif()
if (NOT LIB_DIR)
set(LIB_DIR "${CMAKE_INSTALL_LIBDIR}/vcmi" CACHE STRING "Where to install main library")
endif()
if (NOT DATA_DIR)
set(DATA_DIR "share/vcmi" CACHE STRING "Where to install data files")
endif()
endif() endif()
set (AI_LIB_DIR "${LIB_DIR}/AI") set (AI_LIB_DIR "${LIB_DIR}/AI")

View File

@ -6,4 +6,4 @@ Comment=Open engine for Heroes of Might and Magic 3
Icon=vcmiclient Icon=vcmiclient
Exec=vcmiclient Exec=vcmiclient
Categories=Game;StrategyGame; Categories=Game;StrategyGame;
Version=0.91 Version=1.0