Skip to content

Commit 4494138

Browse files
set CMAKE_VISIBILITY_INLINES_HIDDEN
1 parent c50dcae commit 4494138

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Runtimes/Core/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ cmake_minimum_required(VERSION 3.26...3.29)
3434

3535
set(CMAKE_C_VISIBILITY_PRESET "hidden")
3636
set(CMAKE_CXX_VISIBILITY_PRESET "hidden")
37+
set(CMAKE_VISIBILITY_INLINES_HIDDEN YES)
3738

3839
set(SwiftCore_CMAKE_MODULES_DIR "${CMAKE_SOURCE_DIR}/cmake/modules")
3940
list(APPEND CMAKE_MODULE_PATH ${SwiftCore_CMAKE_MODULES_DIR})

0 commit comments

Comments
 (0)