Skip to content

Commit 2a2daef

Browse files
committed
CMake: allow the compiler to hide functions marked as inline
1 parent 730e130 commit 2a2daef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ project (liblsl
77
)
88

99
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
10+
set(CMAKE_VISIBILITY_INLINES_HIDDEN ON)
1011
if(NOT MSVC_VERSION VERSION_LESS 1700)
1112
set(CMAKE_CXX_STANDARD 14)
1213
endif()

0 commit comments

Comments
 (0)