From 9176011cc5836bca49aaa6ee8ec1735ffdbcb0ee Mon Sep 17 00:00:00 2001 From: kimwalisch Date: Tue, 2 Jan 2024 17:14:55 +0100 Subject: [PATCH] Fix typos --- cmake/libatomic.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/libatomic.cmake b/cmake/libatomic.cmake index c9b16f2a8..c51e1854d 100644 --- a/cmake/libatomic.cmake +++ b/cmake/libatomic.cmake @@ -46,7 +46,7 @@ if(NOT atomic64) message(STATUS "Add linker flag: ${LIBATOMIC}") endif() - set(CMAKE_REQUIRED_LIBRARIES "${LIB_ATOMIC}") + set(CMAKE_REQUIRED_LIBRARIES "${LIBATOMIC}") check_cxx_source_compiles(" #include @@ -60,7 +60,7 @@ if(NOT atomic64) atomic64_with_libatomic) if (NOT atomic64_with_libatomic) - message(FATAL "Failed to compile std::atomic, libatomic likely not found!") + message(FATAL_ERROR "Failed to compile std::atomic, libatomic likely not found!") endif() endif()