-SET(SUIT_DIR $ENV{SUIT_DIR})
-IF(EXISTS ${SUIT_DIR})
- MESSAGE(STATUS "SUIT found at ${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}")
- FIND_LIBRARY(Event Event ${SUIT_LIB_DIR})
- FIND_LIBRARY(PyConsole PyConsole ${SUIT_LIB_DIR})
- FIND_LIBRARY(PyInterp PyInterp ${SUIT_LIB_DIR})
- FIND_LIBRARY(qtx qtx ${SUIT_LIB_DIR})
- FIND_LIBRARY(suit suit ${SUIT_LIB_DIR})
+
+ FIND_LIBRARY(Event Event ${SUIT_LIB_DIR})
+ FIND_LIBRARY(PyConsole PyConsole ${SUIT_LIB_DIR})
+ FIND_LIBRARY(PyInterp PyInterp ${SUIT_LIB_DIR})
+ FIND_LIBRARY(qtx qtx ${SUIT_LIB_DIR})
+ FIND_LIBRARY(suit suit ${SUIT_LIB_DIR})