We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f64500b + 6deb31f commit 665c1dfCopy full SHA for 665c1df
CMakeLists.txt
@@ -4,6 +4,7 @@ project(libnecrolog LANGUAGES CXX)
4
set(WITH_EXAMPLES OFF CACHE BOOL "Enable build of examples")
5
set(BUILD_SHARED_LIBS ON CACHE BOOL "Build shared libraries instead of static")
6
7
+set(CMAKE_CXX_VISIBILITY_PRESET hidden)
8
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
9
set(CMAKE_CXX_STANDARD 17)
10
set(CMAKE_CXX_STANDARD_REQUIRED ON)
0 commit comments