]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
More correct way to specify Python backend
authorvsr <vsr@opencascade.com>
Fri, 25 Oct 2013 05:39:25 +0000 (05:39 +0000)
committervsr <vsr@opencascade.com>
Fri, 25 Oct 2013 05:39:25 +0000 (05:39 +0000)
salome_adm/cmake_files/FindOmniORBPy.cmake

index 5484e2e4c7b9ca2fff30e4cf540f028812602b32..965ad16590338e66563155e5994292a477804a44 100644 (file)
@@ -45,9 +45,9 @@ FIND_PATH(OMNIORB_PYTHON_BACKEND
 ##############################################################################
 MARK_AS_ADVANCED(OMNIORB_PYTHON_BACKEND)
   
-SET(OMNIORB_IDLPYFLAGS -bpython)
+SET(OMNIORB_IDLPYFLAGS)
 IF (OMNIORB_PYTHON_BACKEND) 
-  LIST(APPEND OMNIORB_IDLPYFLAGS -p${OMNIORB_PYTHON_BACKEND})
+  LIST(APPEND OMNIORB_IDLPYFLAGS -bpython -p${OMNIORB_PYTHON_BACKEND})
 ENDIF()
 SET(IDLPYFLAGS ${OMNIORB_IDLPYFLAGS})