diff --git a/bin2h/CMakeLists.txt b/bin2h/CMakeLists.txt index e621a836..f4dbd025 100644 --- a/bin2h/CMakeLists.txt +++ b/bin2h/CMakeLists.txt @@ -17,6 +17,7 @@ set_target_properties(bin2h PROPERTIES # MSVC tweak if(MSVC) target_compile_definitions(bin2h PRIVATE _CRT_SECURE_NO_WARNINGS) # Disable warnings that normally fire up on MSVC when using "unsafe" functions instead of using MSVC's "safe" _s functions +endif() # Enable link-time optimisation if available if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")