Skip to content

Move CMAKE_INSTALL_INCLUDEDIR after inclusion of GNUInstallDirs

Jane Tournois requested to merge Fix-CMakeLists-GF into master

This MR implements two small fixes for the CoMISo CMakeLists :

  • Before inclusion of GNUInstallDirs, CMAKE_INSTALL_INCLUDEDIR is empty so the command target_include_directories does not include the right directory.

  • When CoMISo is part of a larger project, we do not want to move the config file to the general binary directory, but the one specific to CoMISo, namely the CMAKE_CURRENT_BINARY_DIR

Merge request reports

Loading