Skip to content

Commit

Permalink
Merge pull request #115 from jcfr/fix-cmp0074-cmake-warning
Browse files Browse the repository at this point in the history
COMP: Fix configuration warning setting CMP0074 to NEW
  • Loading branch information
yrathi authored May 1, 2019
2 parents 8e58e2c + 4fb5db4 commit 662c16f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
cmake_minimum_required(VERSION 3.5)

if(POLICY CMP0074)
cmake_policy(SET CMP0074 NEW) #3.12.0 `find_package()`` uses ``<PackageName>_ROOT`` variables.
endif()

#-----------------------------------------------------------------------------
# Enable C++11
#-----------------------------------------------------------------------------
Expand Down

0 comments on commit 662c16f

Please sign in to comment.