https://github.com/feelpp/feelpp
Raw File
Tip revision: cc00a9d3abb22e943d9c585946969d6dc5cbbe3e authored by romainhild on 12 October 2021, 08:13:49 UTC
fix compilation for biotsavart @Trophime
Tip revision: cc00a9d
CMakeLists.txt
cmake_minimum_required(VERSION 3.7.2)
project(doc)

if ( ${CMAKE_SOURCE_DIR}/ STREQUAL ${CMAKE_CURRENT_SOURCE_DIR} )
  find_package(Feel++ PATHS ${FEELPP_DIR}/share/feelpp/feel/cmake/modules $ENV{FEELPP_DIR}/share/feelpp/feel/cmake/modules /usr/share/feelpp/feel/cmake/modules /usr/local/share/feelpp/feel/cmake/modules )
  if(NOT FEELPP_FOUND)
    message(FATAL_ERROR "Feel++ was not found on your system. Make sure to install it and specify the FEELPP_DIR to reference the installation directory.")
  endif()
else()
  feelpp_get_environment()
endif()

if ( NOT TARGET doc )
  add_custom_target(doc)
endif()

if(FEELPP_ENABLE_DOCUMENTATION)
  ADD_SUBDIRECTORY( manual )
  ADD_SUBDIRECTORY( snippets )
endif()
if(FEELPP_ENABLE_DOXYGEN)
  ADD_SUBDIRECTORY( api )
endif()
back to top