aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-10-11 13:00:00 -0500
committerluigi1111 <luigi1111w@gmail.com>2021-10-11 13:00:00 -0500
commit260f1d39f2f881c60cef965c481e69617b5a8704 (patch)
tree56723a3ad623e0ed114b11ba6d26835439fdc662
parentMerge pull request #7960 (diff)
parentcmake: fix copy/paste typo (diff)
downloadmonero-260f1d39f2f881c60cef965c481e69617b5a8704.tar.xz
Merge pull request #7972
bc167a1 cmake: fix copy/paste typo (selsta)
-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()