diff --git a/CMakeLists.txt b/CMakeLists.txt index 949f10e8..59b3eab4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -264,6 +264,13 @@ endif() # 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()