]> SALOME platform Git repositories - tools/configuration.git/commitdiff
Salome HOME
Fix correct install directory for CORBA generated python files when DESTDIR is specif... V8_4_0a1
authorGilles DAVID <gilles-g.david@edf.fr>
Thu, 27 Jul 2017 12:11:14 +0000 (14:11 +0200)
committerGilles DAVID <gilles-g.david@edf.fr>
Thu, 27 Jul 2017 12:11:14 +0000 (14:11 +0200)
cmake/UseOmniORB.cmake

index 4995535338cfefdf8d43d45322a955ae7fb9663f..f216fc724027d63161d20da4e986ac9b70fef35c 100644 (file)
@@ -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()