Skip to content

Commit

Permalink
fix cxx_source
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Dec 21, 2023
1 parent cc33f88 commit bfcd810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/re-config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ check_cxx_source_compiles("${ATOMIC_TEST_CODE}" atomic_test)

if(NOT atomic_test)
set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} atomic)
check_c_source_compiles("${ATOMIC_TEST_CODE}" atomic_test_lib)
check_cxx_source_compiles("${ATOMIC_TEST_CODE}" atomic_test_lib)
if(NOT atomic_test_lib)
message(FATAL_ERROR "No builtin or libatomic support")
else()
Expand Down

0 comments on commit bfcd810

Please sign in to comment.