CMake: Remove hard-coded -std=c11 and -std=c++17
This commit is contained in:
@@ -84,8 +84,6 @@ if(MSVC)
|
|||||||
list(APPEND COMPILE_OPTIONS -MP -W4 -wd4702)
|
list(APPEND COMPILE_OPTIONS -MP -W4 -wd4702)
|
||||||
else()
|
else()
|
||||||
list(APPEND COMPILE_OPTIONS
|
list(APPEND COMPILE_OPTIONS
|
||||||
$<$<COMPILE_LANGUAGE:C>:-std=c11>
|
|
||||||
$<$<COMPILE_LANGUAGE:CXX>:-std=c++17>
|
|
||||||
-Wall
|
-Wall
|
||||||
-Wextra
|
-Wextra
|
||||||
-Wpedantic
|
-Wpedantic
|
||||||
|
|||||||
Reference in New Issue
Block a user