From 89c862500fdf50b7bfd9b2110c324ac1f7011bc1 Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 11 Sep 2018 10:21:40 +0300 Subject: [PATCH] Fix pb of build procedure: pyc files are not generated --- bin/CMakeLists.txt | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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}) -- 2.39.2