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>
Wed, 28 Feb 2018 22:01:31 +0000 (23:01 +0100)
commit0acbc7fd0da2e96634c8cd1ebb33d69b4f7b2efa
treed80721ef9852f057e610e78679a3585b5dad7ff5
parenta27f7424c486338a28788efbf6ed3cfa263afa4f
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.

(cherry picked from commit ea83d86631bc3fa82a2b9a8f415c2424a8bc1a2a)
CMakeLists.txt