From: Gilles DAVID Date: Thu, 27 Jul 2017 12:11:14 +0000 (+0200) Subject: Fix correct install directory for CORBA generated python files when DESTDIR is specif... X-Git-Tag: V8_4_0a1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c895811c846c12e699bc9037fb995f00c205cb54;p=tools%2Fconfiguration.git Fix correct install directory for CORBA generated python files when DESTDIR is specified during make command --- diff --git a/cmake/UseOmniORB.cmake b/cmake/UseOmniORB.cmake index 4995535..f216fc7 100644 --- a/cmake/UseOmniORB.cmake +++ b/cmake/UseOmniORB.cmake @@ -130,7 +130,7 @@ MACRO(OMNIORB_ADD_MODULE module idlfiles incdirs) IF(OMNIORB_PYTHON_BACKEND) STRING(REPLACE ";" " " _tmp "${_py_flags}") - INSTALL(CODE "OMNIORB_COMPILE_IDL_FORPYTHON_ON_INSTALL( \"${OMNIORB_IDL_COMPILER}\" \"${_tmp}\" \"${_input_cmd}\" \"${CMAKE_INSTALL_PREFIX}/\${INSTALL_PYIDL_DIR}\" )") + INSTALL(CODE "OMNIORB_COMPILE_IDL_FORPYTHON_ON_INSTALL( \"${OMNIORB_IDL_COMPILER}\" \"${_tmp}\" \"${_input_cmd}\" \"\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/\${INSTALL_PYIDL_DIR}\" )") ENDIF() ENDFOREACH()