File tree Expand file tree Collapse file tree 5 files changed +8
-4
lines changed
Expand file tree Collapse file tree 5 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -77,9 +77,9 @@ endif()
7777if (WIN32 )
7878 # Update standard link libraries to explicitly exclude kernel32. It isn't necessary, and when compiling with
7979 # MinGW makes the executable unusable on Microsoft Nano Server due to including __C_specific_handler.
80- SET (CMAKE_C_STANDARD_LIBRARIES "-luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32"
80+ SET (CMAKE_C_STANDARD_LIBRARIES "-luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 -lbcrypt "
8181 CACHE STRING "Standard C link libraries." FORCE )
82- SET (CMAKE_CXX_STANDARD_LIBRARIES "-luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32"
82+ SET (CMAKE_CXX_STANDARD_LIBRARIES "-luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 -lbcrypt "
8383 CACHE STRING "Standard C++ link libraries." FORCE )
8484
8585 # We currently support Windows Vista and later APIs, see
Original file line number Diff line number Diff line change 1- find_package (Boost 1.54 REQUIRED COMPONENTS regex )
1+ find_package (Boost 1.54 REQUIRED COMPONENTS regex system )
22
33add_leatherman_deps ("${Boost_LIBRARIES} " )
44add_leatherman_includes ("${Boost_INCLUDE_DIRS} " )
Original file line number Diff line number Diff line change 55// boost includes are not always warning-clean. Disable warnings that
66// cause problems before including the headers, then re-enable the warnings.
77#pragma GCC diagnostic push
8+ #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
89#pragma GCC diagnostic ignored "-Wstrict-aliasing"
910#include < boost/locale.hpp>
1011#pragma GCC diagnostic pop
Original file line number Diff line number Diff line change 44 */
55#pragma once
66
7+ #pragma GCC diagnostic push
8+ #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
79#include < boost/algorithm/string/predicate.hpp>
810#include < boost/algorithm/string/compare.hpp>
11+ #pragma GCC diagnostic pop
912#include < functional>
1013#include < string>
1114#include < vector>
Original file line number Diff line number Diff line change 1- find_package (Boost 1.54 REQUIRED COMPONENTS filesystem )
1+ find_package (Boost 1.54 REQUIRED COMPONENTS filesystem regex system )
22
33add_leatherman_deps (Wbemuuid.lib userenv.lib "${Boost_LIBRARIES} " )
44add_leatherman_includes ("${Boost_INCLUDE_DIRS} " )
You can’t perform that action at this time.
0 commit comments