]> granicus.if.org Git - libmatroska/commitdiff
Fix C++ visibility preset
authorevpobr <evpobr@gmail.com>
Sun, 19 May 2019 13:36:41 +0000 (18:36 +0500)
committerSteve Lhomme <robux4@ycbcr.xyz>
Sun, 19 May 2019 14:29:42 +0000 (16:29 +0200)
CMakeLists.txt

index ea898e35f37452d3d91fed3b3199aa7cbfafa5f8..f478c3e1d6b8b0e2cc3ee1a5d1839d681963bba9 100644 (file)
@@ -74,7 +74,7 @@ if(BUILD_SHARED_LIBS)
   target_compile_definitions(matroska PUBLIC MATROSKA_DLL)
   set_target_properties(matroska PROPERTIES
     DEFINE_SYMBOL "MATROSKA_DLL_EXPORT"
-    C_VISIBILITY_PRESET hidden
+    CXX_VISIBILITY_PRESET hidden
     VISIBILITY_INLINES_HIDDEN 1)
 endif()