aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2021-09-25 06:28:41 +0200
committerselsta <selsta@sent.at>2021-09-25 06:28:41 +0200
commitbc167a17380e00a440298e11add3229397b40a5f (patch)
tree7027135ace9b8d010d3a274c0b67347275f12ffc /CMakeLists.txt
parentMerge pull request #7945 (diff)
downloadmonero-bc167a17380e00a440298e11add3229397b40a5f.tar.xz
cmake: fix copy/paste typo
Diffstat (limited to '')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bb019e178..7ff207d97 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -788,7 +788,7 @@ else()
endif()
set(C_WARNINGS "-Waggregate-return -Wnested-externs -Wold-style-definition -Wstrict-prototypes")
set(CXX_WARNINGS "-Wno-reorder -Wno-missing-field-initializers")
- try_compile(STATIC_ASSERT_RES "${CMAKE_CURRENT_BINARY_DIR}/static-assert" "${CMAKE_CURRENT_SOURCE_DIR}/cmake/test-static-assert.c" CMAKE_FLAGS -DCMAKE_CXX_STANDARD=11)
+ try_compile(STATIC_ASSERT_RES "${CMAKE_CURRENT_BINARY_DIR}/static-assert" "${CMAKE_CURRENT_SOURCE_DIR}/cmake/test-static-assert.c" CMAKE_FLAGS -DCMAKE_C_STANDARD=11)
if(STATIC_ASSERT_RES)
set(STATIC_ASSERT_FLAG "")
else()