1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Use GNUInstallDirs to let the BINDIR be overriden by the build options

This commit is contained in:
Didier Raboud 2017-10-15 17:46:30 +02:00
parent c8cf431e38
commit 161c6df1cb

View File

@ -4,6 +4,7 @@ cmake_minimum_required (VERSION 3.2)
set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")
set (CMAKE_CXX_STANDARD 11)
include (GNUInstallDirs)
include (${CMAKE_ROOT}/Modules/ExternalProject.cmake)
include_directories (${CMAKE_INSTALL_PREFIX}/include)
@ -247,7 +248,7 @@ endforeach (file)
##############
install (TARGETS planetblupi
RUNTIME DESTINATION bin
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)
install (