Skip to content
Snippets Groups Projects
Commit 3d961280 authored by Dilawar Singh's avatar Dilawar Singh
Browse files

Do not install gui if using python3.

parent 81e91586
No related branches found
No related tags found
No related merge requests found
...@@ -29,9 +29,10 @@ option(WITH_CUDA "Use CUDA/GPU" OFF) ...@@ -29,9 +29,10 @@ option(WITH_CUDA "Use CUDA/GPU" OFF)
option(WITH_MPI "Use MPI (experimental)" OFF) option(WITH_MPI "Use MPI (experimental)" OFF)
option(WITH_GUI "Install moose-gui. Works only with python2." ON ) option(WITH_GUI "Install moose-gui. Works only with python2." ON )
# Required packages. # On python3. Do not install GUI.
find_package(PythonInterp REQUIRED) find_package(PythonInterp REQUIRED)
if(PYTHON_VERSION_MAJOR VERSION_EQUAL 3) if(PYTHON_VERSION_MAJOR VERSION_EQUAL 3)
message(STATUS "moose-gui does not support python3 yet. Disabling" )
set(WITH_GUI OFF) set(WITH_GUI OFF)
endif( ) endif( )
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment