Skip to content

Commit

Permalink
Avoid breaking CMake <= 3.12 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
upsj authored Aug 5, 2020
1 parent 9b54c92 commit b1ad4ae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
cmake_minimum_required(VERSION 3.9)

# Use *_ROOT environment variables for find_package calls
cmake_policy(SET CMP0074 NEW)
if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.12)
cmake_policy(SET CMP0074 NEW)
endif()

project(Ginkgo LANGUAGES C CXX VERSION 1.2.0 DESCRIPTION "A numerical linear algebra library targeting many-core architectures")
set(Ginkgo_VERSION_TAG "develop")
Expand Down

0 comments on commit b1ad4ae

Please sign in to comment.