PROJECT(VLSISAPD) CMAKE_MINIMUM_REQUIRED(VERSION 2.4.0) LIST(INSERT CMAKE_MODULE_PATH 0 "${VLSISAPD_SOURCE_DIR}/cmake_modules") FIND_PACKAGE(LibXml2 REQUIRED) FIND_PACKAGE(PythonSitePackages REQUIRED) FIND_PACKAGE(Boost 1.32.0 COMPONENTS python) IF (Boost_FOUND) MESSAGE(STATUS "Found Boost.Python libraries in ${Boost_INCLUDE_DIR} as ${Boost_LIBRARIES}") FIND_PACKAGE(PythonLibs REQUIRED) ELSE (Boost_FOUND) MESSAGE(STATUS "Boost.Python libraries were not found") ENDIF (Boost_FOUND) FIND_PACKAGE(Doxygen) ADD_SUBDIRECTORY(src) ADD_SUBDIRECTORY(cmake_modules) IF(BUILD_DOC AND DOXYGEN_FOUND) ADD_SUBDIRECTORY(doc) ADD_SUBDIRECTORY(examples) ENDIF(BUILD_DOC AND DOXYGEN_FOUND)