ref: 7db42b0b725f1b8cd37f1e40596875933c4133cb
parent: 21cef10e4b738b50d351cacf0f7d1897abdf6858
author: Clownacy <[email protected]>
date: Thu May 23 07:36:41 EDT 2019
Set bin2h to C90 in the CMake file Done to match the Makefile
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -264,6 +264,13 @@
# Magic to convert resources to header files
add_executable(bin2h "src/misc/bin2h.c")
+
+set_target_properties(bin2h PROPERTIES
+ C_STANDARD 90
+ C_STANDARD_REQUIRED ON
+ C_EXTENSIONS OFF
+)
+
if(MSVC)
target_compile_definitions(bin2h PRIVATE _CRT_SECURE_NO_WARNINGS) # Shut up those stupid warnings
endif()