fix: typos
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 65ac6cb..5ff9a59 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,7 +21,7 @@
 option(CN_CBOR_USE_CONTEXT "Use context pointer for CBOR functions" OFF)
 option(CN_CBOR_VERBOSE "Produce verbose makefile output" OFF)
 option(CN_CBOR_OPTIMIZE "Optimize for size" OFF)
-option(CN_CBOR_ALIGN_READS "Treat build warnings as errors" ON)
+option(CN_CBOR_FATAL_WARNINGS "Treat build warnings as errors" ON)
 option(CN_CBOR_COVERALLS "Generate coveralls data" ON)
 option(CN_CBOR_COVERALLS_SEND "Send data to coveralls site" OFF)
 option(CN_CBOR_BUILD_DOCS "Create docs using Doxygen" OFF)
@@ -63,7 +63,7 @@
 if(CMAKE_C_COMPILER_ID STREQUAL "GNU" OR CMAKE_C_COMPILER_ID MATCHES "Clang")
   message(STATUS "adding GCC/Clang options ")
   add_definitions(-std=gnu99 -Wall -Wextra -pedantic)
-  if(CN_CBOR_ALIGN_READS)
+  if(CN_CBOR_FATAL_WARNINGS)
     add_definitions(-Werror)
   endif()
   if(CN_CBOR_OPTIMIZE)
@@ -71,7 +71,7 @@
   endif()
 elseif(MSVC)
   add_definitions(/W3)
-  if(CN_CBOR_ALIGN_READS)
+  if(CN_CBOR_FATAL_WARNINGS)
     add_definitions(/WX)
   endif()
 else()