Skip to content

Commit

Permalink
Conditionally require CMake 2.8.12 for Travis
Browse files Browse the repository at this point in the history
Travis CI only has CMake 2.8.7;
2.8.12+ is required for OSX packaging only.
  • Loading branch information
cxong committed May 1, 2014
1 parent 1451b96 commit 3ea4961
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
cmake_minimum_required(VERSION 2.8.12)
if(APPLE)
cmake_minimum_required(VERSION 2.8.12)
else()
cmake_minimum_required(VERSION 2.8)
endif()
project(cdogs-sdl C)

SET(VERSION "0.5.5")
Expand Down

0 comments on commit 3ea4961

Please sign in to comment.