Skip to content

Commit

Permalink
test c11 flag
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Dec 18, 2023
1 parent 2f9f030 commit 3cd8808
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/re-config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,10 @@ endif()
# Testing Atomic
#

if(NOT WIN32)
set(CMAKE_REQUIRED_FLAGS ${CMAKE_REQUIRED_FLAGS} -std=c11)
endif()

set(ATOMIC_TEST_CODE "
#include <stdatomic.h>
#include <stdint.h>
Expand Down

0 comments on commit 3cd8808

Please sign in to comment.