瀏覽代碼

Actually fix cmake this time

Charlie Gettys 6 年之前
父節點
當前提交
4efa3736ba
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      code/CMakeLists.txt

+ 2 - 2
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} )