From 10217edaa96b18e76d8f32d05b6248b6101eaa6c Mon Sep 17 00:00:00 2001 From: bruneton Date: Mon, 21 Oct 2013 10:03:30 +0000 Subject: [PATCH] CMake: modifying OMNIORB_ADD_MODULE macro to support dynamic build of IDL files in the build tree (used in PARAVIS module) --- salome_adm/cmake_files/UseOmniORB.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/salome_adm/cmake_files/UseOmniORB.cmake b/salome_adm/cmake_files/UseOmniORB.cmake index 3e651b694..414018599 100644 --- a/salome_adm/cmake_files/UseOmniORB.cmake +++ b/salome_adm/cmake_files/UseOmniORB.cmake @@ -117,14 +117,14 @@ MACRO(OMNIORB_ADD_MODULE module idlfiles incdirs) ADD_CUSTOM_COMMAND(OUTPUT ${_outputs} COMMAND ${OMNIORB_IDL_COMPILER} ${_cxx_flags} ${_input_cmd} - DEPENDS ${_input}) + DEPENDS ${_input_cmd}) - INSTALL(FILES ${_input} DESTINATION idl/salome) + INSTALL(FILES ${_input_cmd} DESTINATION idl/salome) INSTALL(FILES ${_inc} DESTINATION include/salome) IF(OMNIORB_PYTHON_BACKEND) STRING(REPLACE ";" " " _tmp "${_py_flags}") - INSTALL(CODE "OMNIORB_COMPILE_IDL_FORPYTHON_ON_INSTALL( \"${OMNIORB_IDL_COMPILER}\" \"${_tmp}\" \"${_input}\" \"${CMAKE_INSTALL_PREFIX}/\${INSTALL_PYIDL_DIR}\" )") + INSTALL(CODE "OMNIORB_COMPILE_IDL_FORPYTHON_ON_INSTALL( \"${OMNIORB_IDL_COMPILER}\" \"${_tmp}\" \"${_input_cmd}\" \"${CMAKE_INSTALL_PREFIX}/\${INSTALL_PYIDL_DIR}\" )") ENDIF() ENDFOREACH() -- 2.39.2