[planetblupi] 01/08: Use GNUInstallDirs to let the BINDIR be overriden by the build options
Didier Raboud
odyx at moszumanska.debian.org
Wed Oct 25 07:16:55 UTC 2017
This is an automated email from the git hooks/post-receive script.
odyx pushed a commit to branch debian/master
in repository planetblupi.
commit 359d1f9e70a4c0124621b3ad9e2a28ad18023400
Author: Didier Raboud <odyx at debian.org>
Date: Sun Oct 15 17:46:30 2017 +0200
Use GNUInstallDirs to let the BINDIR be overriden by the build options
---
CMakeLists.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1a0a456..3238a72 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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)
@@ -219,7 +220,7 @@ endforeach (file)
##############
install (TARGETS planetblupi
- RUNTIME DESTINATION bin
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)
install (
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/planetblupi.git
More information about the Pkg-games-commits
mailing list