Skip to content

Commit

Permalink
Merge branch 'main' into src-in-src
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacbrodsky committed Feb 28, 2024
2 parents cda07b3 + 7fd6873 commit bd5d3e2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ set(BUILD_TESTING OFF CACHE BOOL "" FORCE)
set(BUILD_FUZZERS OFF CACHE BOOL "" FORCE)
set(ENABLE_DOCS OFF CACHE BOOL "" FORCE)
set(ENABLE_TESTING OFF CACHE BOOL "" FORCE)
set(ENABLE_LINTING OFF CACHE BOOL "" FORCE)

# Build the core library as static
# TODO: Is this needed? Consider restoring correctly
Expand Down Expand Up @@ -72,9 +73,7 @@ install(
# Automatic code formatting
# Give preference to clang-format-9
find_program(CLANG_FORMAT_PATH NAMES clang-format-9 clang-format)
cmake_dependent_option(
ENABLE_FORMAT "Enable running clang-format before compiling" ON
"CLANG_FORMAT_PATH" OFF)
option(ENABLE_FORMAT "Enable running clang-format before compiling" OFF)
if(ENABLE_FORMAT)
# Format
add_custom_target(format-ext
Expand Down

0 comments on commit bd5d3e2

Please sign in to comment.