From e826dd7e642f56c84a5dffb6398ec4b0f2dea68e Mon Sep 17 00:00:00 2001 From: Dilawar Singh <dilawars@ncbs.res.in> Date: Sat, 16 Dec 2017 11:06:42 +0530 Subject: [PATCH] On debian/ubuntu install-layout option is set to deb. [skip ci] --- moose-core/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/moose-core/CMakeLists.txt b/moose-core/CMakeLists.txt index edd1d6cd..b9b807ff 100644 --- a/moose-core/CMakeLists.txt +++ b/moose-core/CMakeLists.txt @@ -407,7 +407,9 @@ execute_process( message( STATUS "Platform ${_platform_desc}" ) -set(EXTRA_ARGS "--prefix ${CMAKE_INSTALL_PREFIX}") +# DISTUTILS_EXTRA_ARGS may come of top-level cmake script. On DEBIAN/UBUNTU, it +# is most likely to be --install-layout=deb . +set(EXTRA_ARGS "--prefix ${CMAKE_INSTALL_PREFIX} ${DISTUTILS_EXTRA_ARGS}") ## NOTE: Disable it here. It must be handled by moose repository CMakeLists.txt ## which is used in created packages. For normal user, it should install in -- GitLab