Simplify checking if CMake policies need to be set
authorRolf Eike Beer <kde@opensource.sf-tec.de>
Wed, 18 May 2016 06:54:22 +0000 (08:54 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 15 Jun 2016 21:05:22 +0000 (23:05 +0200)
commit8714e651551428b0fed15b7a98d1be514921af7d
tree325d344f19fd83fd2113af429ca056a18c549825
parentb509e40498a11254ba39b791ee7131fd319b60ab
Simplify checking if CMake policies need to be set

Remove the magic knowledge about when a policy was introduced, simply
check if the policy exists.

Closes GH-196.
CMakeLists.txt