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)