Remove Boost_NO_BOOST_CMAKE=ON to fix Windows build (#1298)

This commit is contained in:
Cameron Gutman 2023-05-22 08:55:13 -05:00 committed by GitHub
parent 8da2caf764
commit 31f72cdbff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,8 +134,6 @@ pkg_check_modules(CURL REQUIRED libcurl)
if(WIN32) if(WIN32)
set(Boost_USE_STATIC_LIBS ON) # cmake-lint: disable=C0103 set(Boost_USE_STATIC_LIBS ON) # cmake-lint: disable=C0103
# workaround to prevent link errors against icudata, icui18n
set(Boost_NO_BOOST_CMAKE ON) # cmake-lint: disable=C0103
endif() endif()
find_package(Boost COMPONENTS locale log filesystem program_options REQUIRED) find_package(Boost COMPONENTS locale log filesystem program_options REQUIRED)