Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

Commit

Permalink
build will now use default visibility 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ebruck committed May 7, 2019
1 parent 2b371f4 commit 1d5b096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ add_definitions(-DBOOST_ERROR_CODE_HEADER_ONLY)
set(warnings "-Wno-deprecated-declarations -Wall -Wextra -Werror -Wpedantic -Wno-implicit-fallthrough")
if (APPLE)
set(warnings "${warnings} -Wno-extended-offsetof")
add_compile_options("-fvisibility=global")
add_compile_options("-fvisibility=default")
endif(APPLE)

set(CMAKE_CXX_FLAGS ${warnings})
Expand Down

0 comments on commit 1d5b096

Please sign in to comment.