From 02809ef41e5ac264479bf3dccf6449252bcf7dff Mon Sep 17 00:00:00 2001 From: bruneton Date: Mon, 28 Oct 2013 10:16:26 +0000 Subject: [PATCH] CMake: fixing omniidl detection under Win32 --- salome_adm/cmake_files/FindOmniORB.cmake | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/salome_adm/cmake_files/FindOmniORB.cmake b/salome_adm/cmake_files/FindOmniORB.cmake index 0cff11b99..e0924769b 100644 --- a/salome_adm/cmake_files/FindOmniORB.cmake +++ b/salome_adm/cmake_files/FindOmniORB.cmake @@ -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) -- 2.30.2