]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Preparation of the SALOME7.2.0 win32 version.
authorrnv <rnv@opencascade.com>
Mon, 24 Jun 2013 08:19:09 +0000 (08:19 +0000)
committerrnv <rnv@opencascade.com>
Mon, 24 Jun 2013 08:19:09 +0000 (08:19 +0000)
salome_adm/cmake_files/deprecated/FindOMNIORB.cmake

index 64599d1bf712fa4f3bd25ceb95aef4dae6830122..f14adaee7910eaa5ea7641921249d4362750d2ef 100644 (file)
@@ -65,8 +65,13 @@ ENDIF(OMNIORB_STATUS)
 
 IF(OMNIORB_STATUS)
   SET(OMNIIDL_EXECUTABLE_TO_FIND omniidl)
+  IF(WINDOWS)
+    SET( FIND_PATH ${OMNIORB_ROOT_USER}/bin/x86_win32)
+  ELSE(WINDOWS)
+    SET( FIND_PATH ${OMNIORB_ROOT_USER}/bin)
+  ENDIF(WINDOWS)  
   IF(OMNIORB_ROOT_USER)
-    FIND_PROGRAM(OMNIIDL_EXECUTABLE ${OMNIIDL_EXECUTABLE_TO_FIND} PATHS ${OMNIORB_ROOT_USER}/bin)
+    FIND_PROGRAM(OMNIIDL_EXECUTABLE ${OMNIIDL_EXECUTABLE_TO_FIND} PATHS ${FIND_PATH} )
   ELSE(OMNIORB_ROOT_USER)
     FIND_PROGRAM(OMNIIDL_EXECUTABLE ${OMNIIDL_EXECUTABLE_TO_FIND})
   ENDIF(OMNIORB_ROOT_USER)