|
|
@ -23,10 +23,13 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")
|
|
|
|
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.9)
|
|
|
|
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.9)
|
|
|
|
|
|
|
|
|
|
|
|
# Use GNUInstallDirs to allow customisation
|
|
|
|
# Use GNUInstallDirs to allow customisation
|
|
|
|
# but set our own default data dir
|
|
|
|
# but set our own default data and bin dir
|
|
|
|
if(NOT CMAKE_INSTALL_DATADIR)
|
|
|
|
if(NOT CMAKE_INSTALL_DATADIR)
|
|
|
|
set(CMAKE_INSTALL_DATADIR "share/games")
|
|
|
|
set(CMAKE_INSTALL_DATADIR "share/games")
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(NOT CMAKE_INSTALL_BINDIR)
|
|
|
|
|
|
|
|
set(CMAKE_INSTALL_BINDIR "games")
|
|
|
|
|
|
|
|
endif()
|
|
|
|
include(GNUInstallDirs)
|
|
|
|
include(GNUInstallDirs)
|
|
|
|
|
|
|
|
|
|
|
|
include(Options)
|
|
|
|
include(Options)
|
|
|
|