From 4efa3736baa522a80c2abe53d38a7b9405663c7b Mon Sep 17 00:00:00 2001 From: Charlie Gettys Date: Wed, 27 Mar 2019 12:03:39 -0400 Subject: [PATCH] Actually fix cmake this time --- code/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/CMakeLists.txt b/code/CMakeLists.txt index a10c0bd28..a265a01dc 100644 --- a/code/CMakeLists.txt +++ b/code/CMakeLists.txt @@ -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} )