From 6d627618c14f048ef7eda3d09d1b880eb17ee280 Mon Sep 17 00:00:00 2001 From: mnt Date: Mon, 11 Apr 2016 21:23:41 +0300 Subject: [PATCH] Synchronize adm files --- cmake_files/SalomeMacros.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake_files/SalomeMacros.cmake b/cmake_files/SalomeMacros.cmake index 5a94723fb..f78ffe4ac 100644 --- a/cmake_files/SalomeMacros.cmake +++ b/cmake_files/SalomeMacros.cmake @@ -136,13 +136,13 @@ MACRO(SALOME_INSTALL_SCRIPTS file_list path) LIST(APPEND _all_pyo ${_pyo_file}) ADD_CUSTOM_COMMAND( OUTPUT ${_pyc_file} - COMMAND ${PYTHON_EXECUTABLE} -c "import py_compile ; py_compile.compile('${_source_prefix}${file}', '${_pyc_file}' )" + COMMAND ${PYTHON_EXECUTABLE} -c "import py_compile ; py_compile.compile('${_source_prefix}${file}', '${_pyc_file}', doraise=True )" DEPENDS ${PREFIX}${file} VERBATIM ) ADD_CUSTOM_COMMAND( OUTPUT ${_pyo_file} - COMMAND ${PYTHON_EXECUTABLE} -O -c "import py_compile ; py_compile.compile('${_source_prefix}${file}', '${_pyo_file}' )" + COMMAND ${PYTHON_EXECUTABLE} -O -c "import py_compile ; py_compile.compile('${_source_prefix}${file}', '${_pyo_file}', doraise=True )" DEPENDS ${PREFIX}${file} VERBATIM ) -- 2.39.2