Skip to content

Commit

Permalink
Merge branch 'development' into 'master'
Browse files Browse the repository at this point in the history
make clang-tidy optional

See merge request keszocze/aarith!77
  • Loading branch information
Oliver Keszoecze committed Mar 22, 2021
2 parents 58106bc + 83287b4 commit c9c8e21
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ option(BUILD_CORRECTNESS_EXPERIMENTS "build correctness experiments" OFF)
option(BUILD_TESTS "build tests" ON)
option(BUILD_EXAMPLES "build examples" ON)
option(BUILD_DOCUMENTATION "Build documentation" OFF)
option(USE_CLANGTIDY "Use clang-tidy" OFF)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/lib")
find_package(MPIR)
Expand Down
4 changes: 3 additions & 1 deletion examples/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
set(CMAKE_CXX_CLANG_TIDY "clang-tidy")
if (USE_CLANGTIDY)
set(CMAKE_CXX_CLANG_TIDY "clang-tidy")
endif()

cmake_minimum_required(VERSION 3.13)

Expand Down

0 comments on commit c9c8e21

Please sign in to comment.