From 8b0541ee9eaa9e72f7a018688eb6524db2ce2834 Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Mon, 24 Jul 2023 18:58:30 +0300 Subject: CMake: use GNU90 standard --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index c4a02fb..0e9cc8b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -132,7 +132,7 @@ function(set_legacy_standard destTarget) if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX) # Turn on warnings and legacy C/C++ standards to support more compilers target_compile_options(${destTarget} PRIVATE - $<$:-Wall -pedantic -std=c90 -Wno-long-long> + $<$:-Wall -pedantic -std=gnu90 -Wno-long-long> $<$:-Wall -pedantic -std=gnu++98> ) endif() -- cgit v1.2.3