Skip to content

Commit

Permalink
Merge pull request #50 from andrsd/small-cmake-imp
Browse files Browse the repository at this point in the history
Take advantage of CMAKE_MODULE_PATH
  • Loading branch information
andrsd authored Mar 4, 2024
2 parents e8f8783 + 13cbad6 commit d3f4379
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
include(FetchContent)
include(CMakePackageConfigHelpers)
include(GNUInstallDirs)
include(${PROJECT_SOURCE_DIR}/cmake/CodeCoverage.cmake)
include(${PROJECT_SOURCE_DIR}/cmake/Sanitization.cmake)
include(CodeCoverage)
include(Sanitization)

option(FPROPS_WITH_PYTHON "Build python wrapper" YES)
option(FPROPS_BUILD_TESTS "Build tests" NO)
Expand Down
6 changes: 3 additions & 3 deletions cmake/CodeCoverage.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ if(FPROPS_CODE_COVERAGE)
set_property(DIRECTORY APPEND PROPERTY ADDITIONAL_CLEAN_FILES "${CODE_COVERAGE_PROFRAWS}")

set(EXCLUDE_REGEX
--ignore-filename-regex=/contrib/
--ignore-filename-regex=/include/eigen3/
--ignore-filename-regex=/include/fmt/
--ignore-filename-regex=/contrib/
--ignore-filename-regex=/include/eigen3/
--ignore-filename-regex=/include/fmt/
)

set(CODE_COVERAGE_BINS
Expand Down

0 comments on commit d3f4379

Please sign in to comment.