Skip to content

Commit

Permalink
Run cmake-format on cmake file
Browse files Browse the repository at this point in the history
  • Loading branch information
arximboldi committed Sep 18, 2024
1 parent ba8feca commit 045c2b3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,12 @@ option(immer_BUILD_EXAMPLES "Build examples" ON)
option(immer_BUILD_DOCS "Build docs" ON)
option(immer_BUILD_EXTRAS "Build extras" ON)
option(immer_INSTALL_FUZZERS "Install fuzzers" off)
option(immer_ENABLE_EXCEPTIONS "Always enable exceptions regardless of detected compiler support" OFF)
option(immer_DISABLE_EXCEPTIONS "Always disable exceptions regardless of detected compiler support" OFF)
option(immer_ENABLE_EXCEPTIONS
"Always enable exceptions regardless of detected compiler support" OFF)
option(immer_DISABLE_EXCEPTIONS
"Always disable exceptions regardless of detected compiler support" OFF)

if (immer_ENABLE_EXCEPTIONS AND immer_DISABLE_EXCEPTIONS)
if(immer_ENABLE_EXCEPTIONS AND immer_DISABLE_EXCEPTIONS)
message(FATAL_ERROR "Cannot both enable and disable exceptions")
endif()

Expand Down

0 comments on commit 045c2b3

Please sign in to comment.