Salome HOME
CMake: fixing omniidl detection under Win32
[modules/yacs.git] / salome_adm / cmake_files / FindOmniORB.cmake
index 0cff11b99415df6f63f56da7bb2b88164364a3e6..e0924769b65f496d7f11ad43e56114d494d114f1 100644 (file)
@@ -94,10 +94,12 @@ ENDIF (WIN32)
 ##############################################################################
 IF (WIN32)
   FIND_PROGRAM( OMNIORB_IDL_COMPILER
-    NAMES omniidl PATHS bin/x86_win32
+    NAMES omniidl 
+    PATH_SUFFIXES x86_win32
     DOC "What is the path where omniidl (the idl compiler) can be found")
   FIND_PROGRAM( OMNIORB_OMNINAMES_COMMAND
-    NAMES omniNames PATHS bin/x86_win32 
+    NAMES omniNames 
+    PATH_SUFFIXES x86_win32
   DOC "What is the path where omniNames (the ORB server) can be found")
 ELSE(WIN32)
   FIND_PROGRAM(OMNIORB_IDL_COMPILER NAMES omniidl)