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:
parent
28d3574b0b
commit
57d23c74ee
@ -89,9 +89,15 @@ else()
|
||||
# includes lib path which determines where to install shared libraries (either /lib or /lib64)
|
||||
include(GNUInstallDirs)
|
||||
|
||||
set(BIN_DIR "bin" CACHE STRING "Where to install binaries")
|
||||
set(LIB_DIR "${CMAKE_INSTALL_LIBDIR}/vcmi" CACHE STRING "Where to install main library")
|
||||
set(DATA_DIR "share/vcmi" CACHE STRING "Where to install data files")
|
||||
if (NOT BIN_DIR)
|
||||
set(BIN_DIR "bin" CACHE STRING "Where to install binaries")
|
||||
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()
|
||||
|
||||
set (AI_LIB_DIR "${LIB_DIR}/AI")
|
||||
|
@ -6,4 +6,4 @@ Comment=Open engine for Heroes of Might and Magic 3
|
||||
Icon=vcmiclient
|
||||
Exec=vcmiclient
|
||||
Categories=Game;StrategyGame;
|
||||
Version=0.91
|
||||
Version=1.0
|
||||
|
Loading…
Reference in New Issue
Block a user