From: vsr Date: Tue, 11 Sep 2018 07:21:40 +0000 (+0300) Subject: Fix pb of build procedure: pyc files are not generated X-Git-Tag: V9_1_0~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=89c862500fdf50b7bfd9b2110c324ac1f7011bc1;p=modules%2Fparavis.git Fix pb of build procedure: pyc files are not generated --- diff --git a/bin/CMakeLists.txt b/bin/CMakeLists.txt index 3afe9dd7..6bd69ac4 100644 --- a/bin/CMakeLists.txt +++ b/bin/CMakeLists.txt @@ -17,10 +17,5 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # -SET(input ${CMAKE_CURRENT_SOURCE_DIR}/VERSION.in) -SET(output ${CMAKE_CURRENT_BINARY_DIR}/VERSION) - -MESSAGE(STATUS "Creation of ${output}") -CONFIGURE_FILE(${input} ${output}) - -INSTALL(FILES paravis_setenv.py ${CMAKE_CURRENT_BINARY_DIR}/VERSION DESTINATION ${SALOME_INSTALL_BINS}) +SALOME_CONFIGURE_FILE(VERSION.in VERSION INSTALL ${SALOME_INSTALL_BINS}) +SALOME_INSTALL_SCRIPTS(paravis_setenv.py ${SALOME_INSTALL_SCRIPT_SCRIPTS})