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

Commit

Permalink
boost builds will now use default visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ebruck committed May 7, 2019
1 parent fb05a84 commit 00c4d58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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=hidden")
#add_compile_options("-fvisibility=hidden")
endif(APPLE)

set(CMAKE_CXX_FLAGS ${warnings})
Expand Down
2 changes: 1 addition & 1 deletion depend/boost/package/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ ExternalProject_Add(boost
URL_HASH ${URL_HASH_OPTION}
TIMEOUT 120
CONFIGURE_COMMAND ${CMAKE_CURRENT_BINARY_DIR}/boost/src/boost/bootstrap.sh --prefix=${PREFIX} --with-libraries=${BOOST_LIBS}
BUILD_COMMAND ${CMAKE_CURRENT_BINARY_DIR}/boost/src/boost/b2 variant=${PKG_BUILD_TYPE} link=static -j${NPROC} install
BUILD_COMMAND ${CMAKE_CURRENT_BINARY_DIR}/boost/src/boost/b2 variant=${PKG_BUILD_TYPE} link=static visibility=global -j${NPROC} install
INSTALL_COMMAND ""
BUILD_IN_SOURCE true
DOWNLOAD_NO_PROGRESS true
Expand Down

0 comments on commit 00c4d58

Please sign in to comment.