--- CMakeLists.txt.orig 2017-11-23 12:50:06.000000000 +0900 +++ CMakeLists.txt 2017-11-23 12:50:25.000000000 +0900 @@ -11,6 +11,10 @@ # Search for the required packages # ================================ find_package(KDE4 4.9.4 REQUIRED) + +# Remove unwanted flag +string(REPLACE "-fvisibility=hidden" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}) + include(KDE4Defaults) find_package(Soprano)