]> O.S.I.I.S - jp/vkvg.git/commitdiff
reenable c extensions by default, should implement more standard solution
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Tue, 2 Aug 2022 23:11:44 +0000 (01:11 +0200)
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Tue, 2 Aug 2022 23:11:44 +0000 (01:11 +0200)
CMakeLists.txt

index 0f4c459fc9da710f8c6f9d86d815477577e45a1b..193f4a97253083f2cbb50f9a88af88cb0de44a97 100644 (file)
@@ -1,9 +1,8 @@
 CMAKE_MINIMUM_REQUIRED(VERSION 3.16)
 
-SET(LANG "CXX")
 SET(CMAKE_C_STANDARD 11)
 SET(CMAKE_CXX_STANDARD 11)
-SET(CMAKE_C_EXTENSIONS OFF)
+SET(CMAKE_C_EXTENSIONS on)
 
 OPTION (VKVG_BUILD_SHARED_LIB "Build using shared libraries" ON)