diff options
author | selsta <selsta@sent.at> | 2021-09-15 08:28:24 +0200 |
---|---|---|
committer | selsta <selsta@sent.at> | 2021-09-16 10:44:25 +0200 |
commit | 4afd9a7a9e08d9e181f91086f2d9d7ae4eb8af0d (patch) | |
tree | d3fe526ebcee30d16179d26a48e585de8aa1a6f5 /contrib/epee/src/CMakeLists.txt | |
parent | Merge pull request #7899 (diff) | |
download | monero-4afd9a7a9e08d9e181f91086f2d9d7ae4eb8af0d.tar.xz |
cmake: set required C/C++ standard to 11
Co-authored-by: Jason Rhinelander <jason@imaginary.ca>
Diffstat (limited to 'contrib/epee/src/CMakeLists.txt')
-rw-r--r-- | contrib/epee/src/CMakeLists.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/contrib/epee/src/CMakeLists.txt b/contrib/epee/src/CMakeLists.txt index 07f119ba4..3fa2f7fb4 100644 --- a/contrib/epee/src/CMakeLists.txt +++ b/contrib/epee/src/CMakeLists.txt @@ -47,9 +47,7 @@ if (USE_READLINE AND (GNU_READLINE_FOUND OR (DEPENDS AND NOT MINGW))) monero_add_library(epee_readline readline_buffer.cpp) endif() -if(HAVE_C11) -SET_PROPERTY(SOURCE memwipe.c PROPERTY COMPILE_FLAGS -std=c11) -endif() +set_property(SOURCE memwipe.c PROPERTY C_STANDARD 11) # Build and install libepee if we're building for GUI if (BUILD_GUI_DEPS) |