From: michael Date: Sat, 30 Jan 2021 21:11:25 +0000 (+0100) Subject: Deleted use of variable COREFLOWS_WITH_GUI X-Git-Tag: V9_7_0~54 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c3f2e81ae6c0232c914b8043c18cfc6ef25e3ad0;p=tools%2Fsolverlab.git Deleted use of variable COREFLOWS_WITH_GUI --- diff --git a/CoreFlows/examples/Python/CMakeLists.txt b/CoreFlows/examples/Python/CMakeLists.txt index bb9a6f4..48a0cbf 100755 --- a/CoreFlows/examples/Python/CMakeLists.txt +++ b/CoreFlows/examples/Python/CMakeLists.txt @@ -1,6 +1,6 @@ # Graphic interface---------------------------------------------------------------------------------------------# # -if (COREFLOWS_WITH_GUI) +if ( (EXISTS $ENV{CONFIGURATION_ROOT_DIR}) AND (EXISTS $ENV{KERNEL_ROOT_DIR}) AND (EXISTS $ENV{GUI_ROOT_DIR}) ) SET(CONFIGURATION_ROOT_DIR $ENV{CONFIGURATION_ROOT_DIR} CACHE PATH "Path to the Salome CMake configuration files") IF(EXISTS ${CONFIGURATION_ROOT_DIR}) @@ -51,7 +51,7 @@ if (COREFLOWS_WITH_GUI) ADD_TEST(PythonTests ${PYTHON_EXECUTABLE} ${SALOME_INSTALL_SCRIPT_PYTHON}/tests/SOLVERLAB_2DSphericalExplosion_HEXAGON.py ${CMAKE_INSTALL_PREFIX}/share/meshes/2DHexagonWithTriangles/meshHexagonWithTriangles200.med) SET_TESTS_PROPERTIES(PythonTests PROPERTIES ENVIRONMENT "${tests_env}") # -endif (COREFLOWS_WITH_GUI) # +endif( (EXISTS $ENV{CONFIGURATION_ROOT_DIR}) AND (EXISTS $ENV{KERNEL_ROOT_DIR}) AND (EXISTS $ENV{GUI_ROOT_DIR}) ) # #---------------------------------------------------------------------------------------------------------------#