mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 09:20:34 +05:00
bos #18970 [CEA] SMESH test won't compile if RESTRICTED/RESTRICTED_ROOT_DIR missing
This commit is contained in:
parent
d85d605175
commit
7e3bbc4f00
@ -27,7 +27,7 @@ SET(_test_helper ${CMAKE_SOURCE_DIR}/doc/salome/examples/testme.py)
|
|||||||
|
|
||||||
SET(RESTRICTED_ROOT_DIR $ENV{RESTRICTED_ROOT_DIR} CACHE PATH "Path to the restricted repository")
|
SET(RESTRICTED_ROOT_DIR $ENV{RESTRICTED_ROOT_DIR} CACHE PATH "Path to the restricted repository")
|
||||||
|
|
||||||
IF(EXISTS ${RESTRICTED_ROOT_DIR} AND WITH_SHAPER_STUDY)
|
IF(WITH_SHAPER_STUDY AND EXISTS ${RESTRICTED_ROOT_DIR})
|
||||||
FILE(GLOB _restricted_tests "${RESTRICTED_ROOT_DIR}/SMESH/*.py")
|
FILE(GLOB _restricted_tests "${RESTRICTED_ROOT_DIR}/SMESH/*.py")
|
||||||
FOREACH(_test ${_restricted_tests})
|
FOREACH(_test ${_restricted_tests})
|
||||||
GET_FILENAME_COMPONENT(_test_name ${_test} NAME_WE)
|
GET_FILENAME_COMPONENT(_test_name ${_test} NAME_WE)
|
||||||
|
Loading…
Reference in New Issue
Block a user