Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwalisch committed Jan 2, 2024
1 parent 84e7da6 commit 9176011
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/libatomic.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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 <atomic>
Expand All @@ -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()

Expand Down

0 comments on commit 9176011

Please sign in to comment.