-SET(SUIT_DIR $ENV{SUIT_DIR})
-IF(EXISTS ${SUIT_DIR})
+IF(HAVE_SALOME)
+ SET(SUIT_INCLUDE ${SALOME_GUI_INCLUDE})
+ MESSAGE(STATUS "SUIT_INCLUDE: ${SALOME_GUI_INCLUDE}")
+ELSE(HAVE_SALOME)
+ SET(SUIT_DIR $ENV{SUIT_DIR})
+ IF(EXISTS ${SUIT_DIR})
MESSAGE(STATUS "SUIT found at ${SUIT_DIR}")
IF(WIN32)
ElSE()
SET(SUIT_INCLUDE ${SUIT_DIR}/include/salome)
ENDIF()
-
-ENDIF(EXISTS ${SUIT_DIR})
+ ENDIF(EXISTS ${SUIT_DIR})
+ENDIF(HAVE_SALOME)