From 6c8581fcb222875fb2b79ae169cd0a3262c8d0db Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Sun, 8 Nov 2015 21:44:45 +0100 Subject: [PATCH] Fix websocketpp crash o.O --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 63816bdb6..6f3303ba4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -71,7 +71,7 @@ endmacro() if(NOT WIN32) # enforce proper symbol exporting on all platforms but Windows - tomahawk_add_c_flags( "-fvisibility=hidden" ) + tomahawk_add_definitions( "-fvisibility=hidden" ) endif() # enforce using constBegin, constEnd for const-iterators