From 045c2b386a1a080c3651a97119c27d19fe803c63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Pedro=20Bol=C3=ADvar=20Puente?= Date: Wed, 18 Sep 2024 14:30:11 +0200 Subject: [PATCH] Run cmake-format on cmake file --- CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7df00eb3..a66df171 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()