Actually fix cmake this time

pull/2389/head
Charlie Gettys 2019-03-27 12:03:39 -04:00
parent d718793163
commit 4efa3736ba
1 changed files with 2 additions and 2 deletions

View File

@ -869,9 +869,9 @@ SET( ziplib_SRCS
# TODO if cmake required version has been updated to >3.12.0, collapse this to the second case only
if(${CMAKE_VERSION} VERSION_LESS "3.12.0")
add_definitions(-DMINIZ_USE_UNALIGNED_LOADS_AND_STORES=0)
else
else()
add_compile_definitions(MINIZ_USE_UNALIGNED_LOADS_AND_STORES=0)
endif
endif()
SOURCE_GROUP( ziplib FILES ${ziplib_SRCS} )