${SUIT_INCLUDE}
)
-IF(NOT ${HAVE_SALOME})
+IF(${HAVE_SALOME})
+ INCLUDE_DIRECTORIES(${SALOME_KERNEL_INCLUDE})
+ELSE(${HAVE_SALOME})
INCLUDE_DIRECTORIES(${APPELEMENTS_INCLUDE_DIR})
ENDIF(NOT ${HAVE_SALOME})
+
ADD_DEFINITIONS(-DPARTSET_EXPORTS ${CAS_DEFINITIONS})
ADD_LIBRARY(PartSet SHARED
${PROJECT_SOURCES}
${CAS_INCLUDE_DIRS}
${SUIT_INCLUDE})
+IF(${HAVE_SALOME})
+ INCLUDE_DIRECTORIES(${SALOME_KERNEL_INCLUDE})
+ENDIF(${HAVE_SALOME})
+
IF(${VInspectorAPI})
message("VINSPECTOR is defined")
SET(PROJECT_LIBRARIES ${PROJECT_LIBRARIES} ${VInspectorAPI})