Set CMake policy for visibility
authorManuel Nickschas <sputnick@quassel-irc.org>
Tue, 1 Mar 2016 18:55:53 +0000 (19:55 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Tue, 1 Mar 2016 19:01:53 +0000 (20:01 +0100)
commitea83d86631bc3fa82a2b9a8f415c2424a8bc1a2a
tree756184914b5ac910e613e3cab6d55bd70e05e18a
parenta79aec8dbbfced1dc5f4ca7f2d3d5342b11daba7
Set CMake policy for visibility

CMake 3.3+ changed behavior for handling visibility for target types
other than dynamic libraries. This commit adds a cmake_policy call
to allow the new behavior, removing a dev warning in the process.
CMakeLists.txt