From 3d9612809c3919b121c0b886ba8ce7ac0ea0c070 Mon Sep 17 00:00:00 2001 From: Dilawar Singh <dilawars@ncbs.res.in> Date: Tue, 21 Nov 2017 10:06:18 +0530 Subject: [PATCH] Do not install gui if using python3. --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 00d09359..d8986742 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,9 +29,10 @@ option(WITH_CUDA "Use CUDA/GPU" OFF) option(WITH_MPI "Use MPI (experimental)" OFF) option(WITH_GUI "Install moose-gui. Works only with python2." ON ) -# Required packages. +# On python3. Do not install GUI. find_package(PythonInterp REQUIRED) if(PYTHON_VERSION_MAJOR VERSION_EQUAL 3) + message(STATUS "moose-gui does not support python3 yet. Disabling" ) set(WITH_GUI OFF) endif( ) -- GitLab