Skip to content

Commit 665c1df

Browse files
authored
Merge pull request #30 from syyyr/default-visibility
Set default visibility
2 parents f64500b + 6deb31f commit 665c1df

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
@@ -4,6 +4,7 @@ project(libnecrolog LANGUAGES CXX)
44
set(WITH_EXAMPLES OFF CACHE BOOL "Enable build of examples")
55
set(BUILD_SHARED_LIBS ON CACHE BOOL "Build shared libraries instead of static")
66

7+
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
78
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
89
set(CMAKE_CXX_STANDARD 17)
910
set(CMAKE_CXX_STANDARD_REQUIRED ON)

0 commit comments

Comments
 (0)