Forgot endif() in bin2h/CMakeLists.txt

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
This commit is contained in:
Gabriel Ravier 2019-09-11 13:33:09 +02:00
parent a9f95ed1a2
commit d4ce0839bb
No known key found for this signature in database
GPG key ID: 1E75F156884F3DCE

View file

@ -17,6 +17,7 @@ set_target_properties(bin2h PROPERTIES
# MSVC tweak # MSVC tweak
if(MSVC) 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 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 # Enable link-time optimisation if available
if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug") if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")