coriolis/coloquinte/CMakeLists.txt

34 lines
711 B
CMake
Raw Normal View History

# -*- explicit-buffer-name: "CMakeLists.txt<coloquinte>" -*-
2015-04-08 03:45:11 -05:00
set(CMAKE_LEGACY_CYGWIN_WIN32 0)
project(COLOQUINTE)
2015-04-08 03:45:11 -05:00
option(BUILD_DOC "Build the documentation (doxygen)" OFF)
cmake_minimum_required(VERSION 2.8.9)
2015-04-08 03:45:11 -05:00
list(INSERT CMAKE_MODULE_PATH 0 "${DESTDIR}$ENV{CORIOLIS_TOP}/share/cmake/Modules/")
find_package(Bootstrap REQUIRED)
setup_project_paths(CORIOLIS)
setup_qt()
set_cmake_policies()
set_lib_link_mode()
setup_boost()
find_package(Libexecinfo REQUIRED)
if(WITH_OPENMP)
add_definitions( -fopenmp )
endif()
2015-04-08 03:45:11 -05:00
add_subdirectory(src)
add_subdirectory(cmake_modules)
2015-04-08 03:45:11 -05:00
if(BUILD_DOC)
find_package(Doxygen)
# if(DOXYGEN_FOUND)
# add_subdirectory(doc)
# endif()
endif()