Browse Source

FindMatlab: fix header visibility of the generated mex files

Raffi Enficiaud 10 years ago
parent
commit
5752e55805
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Modules/FindMatlab.cmake

+ 1 - 1
Modules/FindMatlab.cmake

@@ -918,7 +918,7 @@ function(matlab_add_mex )
       PROPERTIES
         CXX_VISIBILITY_PRESET "hidden"
         C_VISIBILITY_PRESET "hidden"
-        VISIBILITY_INLINES_HIDDEN "hidden"
+        VISIBILITY_INLINES_HIDDEN ON
     )
 
     #  get_target_property(