From c735d7f3eed535c0d5bfbcf94121aa28ae9054f0 Mon Sep 17 00:00:00 2001 From: rnv Date: Wed, 29 Jun 2016 16:39:46 +0300 Subject: [PATCH] Add @ONLY arg to CONFIGURE_FILE to avoid the replacement of ${VAR} constructions. --- src/yacsloader_swig/Test/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/yacsloader_swig/Test/CMakeLists.txt b/src/yacsloader_swig/Test/CMakeLists.txt index 57bdb13e7..f079c81d2 100644 --- a/src/yacsloader_swig/Test/CMakeLists.txt +++ b/src/yacsloader_swig/Test/CMakeLists.txt @@ -21,9 +21,9 @@ IF(NOT WIN32) SET(SHELL /bin/sh) - CONFIGURE_FILE(config_appli.xml.in config_appli.xml) - CONFIGURE_FILE(YacsLoaderTest.sh.in YacsLoaderTest.sh) - CONFIGURE_FILE(YacsLoaderInSessionTest.sh.in YacsLoaderInSessionTest.sh) + CONFIGURE_FILE(config_appli.xml.in config_appli.xml @ONLY) + CONFIGURE_FILE(YacsLoaderTest.sh.in YacsLoaderTest.sh @ONLY) + CONFIGURE_FILE(YacsLoaderInSessionTest.sh.in YacsLoaderInSessionTest.sh @ONLY) ADD_TEST(NAME YacsLoaderTest_swig COMMAND ${SHELL} ${CMAKE_CURRENT_BINARY_DIR}/YacsLoaderTest.sh) SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env) -- 2.39.2