Skip to content

Commit

Permalink
Merge pull request #493 from waterkip/gh-492-ubuntu_xenial_build
Browse files Browse the repository at this point in the history
Be able to run cmake with cmake 3.7 and lessby @waterkip
  • Loading branch information
GPaulovics authored Mar 25, 2019
2 parents 9cda11d + 162f058 commit f38eb66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
IF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} VERSION_GREATER_EQUAL 3.1)
cmake_minimum_required(VERSION 3.1)
ELSE()
IF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} VERSION_LESS 3.1)
set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake > 2.8.4 is required
cmake_minimum_required(VERSION 2.8)
ELSE()
cmake_minimum_required(VERSION 3.1)
ENDIF()

project(lpass)
Expand Down

0 comments on commit f38eb66

Please sign in to comment.