# Include directories and definitions
SET_AND_CHECK(KERNEL_INCLUDE_DIRS "${KERNEL_ROOT_DIR_EXP}/@SALOME_INSTALL_HEADERS@")
-#SET(KERNEL_INCLUDE_DIRS "${KERNEL_INCLUDE_DIRS};@_SalomeKERNEL_EXTRA_HEADERS@")
+SET(KERNEL_INCLUDE_DIRS "${KERNEL_INCLUDE_DIRS};@_SalomeKERNEL_EXTRA_HEADERS@")
SET(KERNEL_DEFINITIONS)
#### Now the specificities
SET_AND_CHECK(LIBBATCH_ROOT_DIR_EXP "@PACKAGE_LIBBATCH_ROOT_DIR@")
ENDIF()
-# We need to export Boost_INCLUDE_DIRS because dependent projects may use header file
-# SALOMEDSClient_definitions.hxx that depends on Boost shared pointers
-SET_AND_CHECK(BOOST_ROOT_DIR_EXP "@PACKAGE_BOOST_ROOT_DIR@")
-SET(KERNEL_INCLUDE_DIRS "${KERNEL_INCLUDE_DIRS};@Boost_INCLUDE_DIRS@")
-SET(KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS};@BOOST_DEFINITIONS@")
-
SET_AND_CHECK(PTHREAD_ROOT_DIR_EXP "@PACKAGE_PTHREAD_ROOT_DIR@")
SET_AND_CHECK(HDF5_ROOT_DIR_EXP "@PACKAGE_HDF5_ROOT_DIR@")
SET_AND_CHECK(LIBXML2_ROOT_DIR_EXP "@PACKAGE_LIBXML2_ROOT_DIR@")
SET(BOOST_DEFINITIONS -DBOOST_DISABLE_ASSERTS)
ENDIF()
-#SALOME_ACCUMULATE_HEADERS(Boost_INCLUDE_DIRS)
+SALOME_ACCUMULATE_HEADERS(Boost_INCLUDE_DIRS)
SET(CAS_STDPLUGIN TKStdSchema)
ENDIF()
ENDIF()
+
+SALOME_ACCUMULATE_HEADERS(CAS_INCLUDE_DIRS)
+
+
SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(CppUnit CPPUNIT_INCLUDE_DIRS 1)
MARK_AS_ADVANCED(CPPUNIT_INCLUDE_DIRS CPPUNIT_LIBRARIES CPPUNIT_CONFIG_BIN CPPUNIT_SUBLIB_cppunit CPPUNIT_SUBLIB_dl)
-#SALOME_ACCUMULATE_HEADERS(CPPUNIT_INCLUDE_DIRS)
+SALOME_ACCUMULATE_HEADERS(CPPUNIT_INCLUDE_DIRS)
SET(HDF5_LIBRARIES hdf5)
ENDIF()
-#SALOME_ACCUMULATE_HEADERS(HDF5_INCLUDE_DIRS)
+SALOME_ACCUMULATE_HEADERS(HDF5_INCLUDE_DIRS)
##
## 7. Specific to HDF5 only:
SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(LibBatch LIBBATCH_ROOT_DIR_EXP 0)
#MARK_AS_ADVANCED()
-#SALOME_ACCUMULATE_HEADERS(LIBBATCH_INCLUDE_DIRS)
+SALOME_ACCUMULATE_HEADERS(LIBBATCH_INCLUDE_DIRS)
ENDIF()
#MARK_AS_ADVANCED()
-#SALOME_ACCUMULATE_HEADERS(LIBXML2_INCLUDE_DIR)
+SALOME_ACCUMULATE_HEADERS(LIBXML2_INCLUDE_DIR)
SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(MEDFile MEDFILE_INCLUDE_DIRS 1)
#MARK_AS_ADVANCED()
+
+SALOME_ACCUMULATE_HEADERS(MEDFILE_INCLUDE_DIRS)
\ No newline at end of file
SET(MPI_INCLUDE_DIRS ${MPI_C_INCLUDE_PATH} ${MPI_CXX_INCLUDE_PATH})
SET(MPI_LIBRARIES ${MPI_C_LIBRARIES} ${MPI_CXX_LIBRARIES})
+
+SALOME_ACCUMULATE_HEADERS(MPI_INCLUDE_DIRS)
SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(OmniORB OMNIORB_INCLUDE_DIR 1)
#MARK_AS_ADVANCED()
-#SALOME_ACCUMULATE_HEADERS(OMNIORB_INCLUDE_DIR)
\ No newline at end of file
+SALOME_ACCUMULATE_HEADERS(OMNIORB_INCLUDE_DIR)
\ No newline at end of file
#
SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(PThread PTHREAD_INCLUDE_DIR 1)
MARK_AS_ADVANCED(PTHREAD_LIBRARIES PTHREAD_INCLUDE_DIR)
+
+SALOME_ACCUMULATE_HEADERS(PTHREAD_INCLUDE_DIR)
## 6. Save the final detected installation
##
SET(PYTHON_ROOT_DIR "${_tmp_ROOT_DIR}")
+ SALOME_ACCUMULATE_HEADERS(PYTHON_INCLUDE_DIR)
## 7. Specifics
##
FOREACH(l IN LISTS ${lst})
LIST(FIND _${PROJECT_NAME}_EXTRA_HEADERS "${l}" _res)
IF(_res EQUAL "-1")
- LIST(APPEND _${PROJECT_NAME}_EXTRA_HEADERS "${l}")
+ IF(NOT "${l}" STREQUAL "/usr/include")
+ LIST(APPEND _${PROJECT_NAME}_EXTRA_HEADERS "${l}")
+ ENDIF()
ENDIF()
ENDFOREACH()
ENDMACRO(SALOME_ACCUMULATE_HEADERS)