From: evpobr Date: Mon, 27 May 2019 10:32:44 +0000 (+0500) Subject: Fix symbols export, closes #50 X-Git-Tag: release-1.5.2~3^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3f6aa891b43d7710e84bbceb8473ffb4f90794e2;p=libmatroska Fix symbols export, closes #50 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 7f4a8e5..012c64f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -73,9 +73,7 @@ endif() if(BUILD_SHARED_LIBS) target_compile_definitions(matroska PUBLIC MATROSKA_DLL) set_target_properties(matroska PROPERTIES - DEFINE_SYMBOL "MATROSKA_DLL_EXPORT" - CXX_VISIBILITY_PRESET hidden - VISIBILITY_INLINES_HIDDEN 1) + DEFINE_SYMBOL MATROSKA_DLL_EXPORT) endif() install(TARGETS matroska