CMake: hide symbols by default on non-MSVC, define export attribute
authorNikolaus Waxweiler <madigens@gmail.com>
Wed, 14 Mar 2018 00:50:32 +0000 (00:50 +0000)
committerNikolaus Waxweiler <madigens@gmail.com>
Wed, 14 Mar 2018 00:50:32 +0000 (00:50 +0000)
commitce975dce7ae8950b6e7b9a2d0c00ead9d45f73ff
tree30c7319d5fe36139a04f61ab0f806c83412dd66d
parenta12dd6f75d85cf29ed78182ac97a12ebbcf77375
CMake: hide symbols by default on non-MSVC, define export attribute

This change makes sure that non-MSVC builds using CMake properly hide
non-exported functions.
CMakeLists.txt