diff --git a/CMakeLists.txt b/CMakeLists.txt index 1bb3ffd8..7245e25c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,6 +70,10 @@ if ( Boost_FOUND ) ${Boost_LIBRAIRIES} ${Boost_PROGRAM_OPTIONS_LIBRARY} Boost::program_options) SET(DGtalLibInc ${Boost_INCLUDE_DIRS}) + ## Used to avoid ld warnings (to be removed when using CLI11 instead program_options) + if(APPLE) + set (CMAKE_CXX_FLAGS "-fvisibility=hidden") + endif(APPLE) endif( Boost_FOUND ) diff --git a/ChangeLog.md b/ChangeLog.md index 8cba3b99..f756e3bd 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -5,13 +5,16 @@ [#356](https://github.com/DGtal-team/DGtalTools/pull/356)) - set cmake based CPP11 check instead the manual DGtal check. (Bertrand Kerautret [#364](https://github.com/DGtal-team/DGtalTools/pull/364)) - + - fix ld boost program options macos warnings. + Kerautret [#366](https://github.com/DGtal-team/DGtalTools/pull/366)) + - *volumetric: - Passing argument by const reference in (min|max|mean)Val of volSubSample. (Roland Denis, [#359](https://github.com/DGtal-team/DGtalTools/pull/359/files)) - Using SourceForge to download doxygen sources during Travis CI jobs. (Roland Denis [#360](https://github.com/DGtal-team/DGtalTools/pull/360)) + # DGtalTools 1.0 - *generators*