From: rnv Date: Wed, 29 Jun 2016 13:39:46 +0000 (+0300) Subject: Add @ONLY arg to CONFIGURE_FILE to avoid the replacement of ${VAR} constructions. X-Git-Tag: V8_1_0a1~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c735d7f3eed535c0d5bfbcf94121aa28ae9054f0;p=modules%2Fyacs.git Add @ONLY arg to CONFIGURE_FILE to avoid the replacement of ${VAR} constructions. --- 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)