From 4b02502e1fce1861e8f18e982d31c066d8193f18 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Tue, 24 Jan 2017 15:58:25 +0100 Subject: [PATCH] Compiler/root/build6 - enable X11 - work-around problem with cmake and wrong path to root.exe --- Compiler/root/build6 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Compiler/root/build6 b/Compiler/root/build6 index e09e146..9576e69 100755 --- a/Compiler/root/build6 +++ b/Compiler/root/build6 @@ -8,7 +8,8 @@ config_args='' case ${OS} in Darwin ) # cocoa doesn't work with GCC!? - config_args='-Dcocoa=OFF' + config_args+='-Dcocoa=OFF' + config_args+='-Dx11=ON' ;; Linux ) INSTANTCLIENT_INCLUDE_DIR='/usr/lib/oracle/12.1/client64/include' @@ -32,6 +33,7 @@ pbuild::configure() { ${config_args} \ -DCMAKE_INSTALL_PREFIX="${PREFIX}" \ || exit 1 + sed -i.bak "s:${MODULE_SRCDIR//\/\///}/root.exe:${MODULE_BUILDDIR//\/\///}/bin/root.exe:" CMakeFiles/hsimple.dir/build.make } pbuild::build() {