Skip to content

Commit

Permalink
cmake: Require CMake 3.1.
Browse files Browse the repository at this point in the history
So there's no chance we'll ever generate zip packages again.
  • Loading branch information
jrfonseca committed Mar 15, 2016
1 parent c1443da commit 11e78a1
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 2.8.11)
cmake_minimum_required (VERSION 3.1)


project (drmingw)
Expand Down Expand Up @@ -162,11 +162,7 @@ if (CMAKE_SIZEOF_VOID_P EQUAL 8)
set (CPACK_SYSTEM_NAME win64)
endif ()

if (CMAKE_VERSION VERSION_LESS 3.1)
set (CPACK_GENERATOR "ZIP")
else ()
set (CPACK_GENERATOR "7Z")
endif ()
set (CPACK_GENERATOR "7Z")

set (CPACK_STRIP_FILES ON)

Expand Down

0 comments on commit 11e78a1

Please sign in to comment.