From: akl Date: Fri, 13 Dec 2019 12:34:44 +0000 (+0300) Subject: bos #18432: set env path instead of static one. X-Git-Tag: EMC2P_V_1_2_0~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=87c615031b7e3e537dd76ec36420afb325f6aeca;p=modules%2Fkernel.git bos #18432: set env path instead of static one. --- diff --git a/CTestTestfileInstall.cmake.in b/CTestTestfileInstall.cmake.in index 8b338bd0b..a520159e9 100644 --- a/CTestTestfileInstall.cmake.in +++ b/CTestTestfileInstall.cmake.in @@ -17,12 +17,12 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # -SET(SALOME_TEST_DRIVER "@CMAKE_INSTALL_PREFIX@/bin/salome/appliskel/salome_test_driver.py") +SET(SALOME_TEST_DRIVER "$ENV{KERNEL_ROOT_DIR}/bin/salome/appliskel/salome_test_driver.py") SET(COMPONENT_NAME KERNEL) SET(TIMEOUT 200) -SET(KERNEL_TEST_LIB "@CMAKE_INSTALL_PREFIX@/@KERNEL_TEST_LIB@") +SET(KERNEL_TEST_LIB "$ENV{KERNEL_ROOT_DIR}/@KERNEL_TEST_LIB@") # Add all test subdirs SUBDIRS( Launcher