From 87c615031b7e3e537dd76ec36420afb325f6aeca Mon Sep 17 00:00:00 2001 From: akl Date: Fri, 13 Dec 2019 15:34:44 +0300 Subject: [PATCH] bos #18432: set env path instead of static one. --- CTestTestfileInstall.cmake.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2