From 06cc52744d5fbccc220a1574edd8381c1e7e21e8 Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Sat, 3 Mar 2012 01:14:21 +0100 Subject: [PATCH] Enforce proper symbol exporting on all platforms --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1ef41df0eb..65fd0edf76 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,6 +20,8 @@ SET( TOMAHAWK_VERSION_PATCH 99 ) #SET( TOMAHAWK_VERSION_RC 0 ) +# enforce proper symbol exporting on all platforms +add_definitions( "-fvisibility=hidden" ) # build options option(BUILD_GUI "Build Tomahawk with GUI" ON)