aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2023-07-24 18:58:30 +0300
committerWohlstand <admin@wohlnet.ru>2023-07-24 18:58:30 +0300
commit8b0541ee9eaa9e72f7a018688eb6524db2ce2834 (patch)
tree2feaf8500c32f0b2530068b44c4dd08ce5f9cc31 /CMakeLists.txt
parentbfb029f384a4433b6965dc14a6891bb527511e78 (diff)
downloadlibADLMIDI-8b0541ee9eaa9e72f7a018688eb6524db2ce2834.tar.gz
libADLMIDI-8b0541ee9eaa9e72f7a018688eb6524db2ce2834.tar.bz2
libADLMIDI-8b0541ee9eaa9e72f7a018688eb6524db2ce2834.zip
CMake: use GNU90 standard
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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
- $<$<COMPILE_LANGUAGE:C>:-Wall -pedantic -std=c90 -Wno-long-long>
+ $<$<COMPILE_LANGUAGE:C>:-Wall -pedantic -std=gnu90 -Wno-long-long>
$<$<COMPILE_LANGUAGE:CXX>:-Wall -pedantic -std=gnu++98>
)
endif()