File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818#include < gmock/gmock.h>
1919
2020#include < boost/filesystem.hpp>
21+ #include < boost/filesystem/fstream.hpp>
2122#include < boost/process/environment.hpp>
2223
2324#include < gtest/gtest.h>
Original file line number Diff line number Diff line change 1313# See the License for the specific language governing permissions and
1414# limitations under the License.
1515
16- project (boost VERSION 1.76 .0 LANGUAGES NONE )
16+ project (boost VERSION 1.80 .0 LANGUAGES NONE )
1717
18- set (SHA256 7bd7ddceec1a1dfdcbdb3e609b60d01739c38390a5f956385a12f3122049f0ca )
18+ set (SHA256 4b2136f98bdd1f5857f1c3dea9ac2018effe65286cf251534b6ae20cc45e1847 )
1919
2020if (WIN32 )
2121 set (BOOTSTRAP_COMMAND bootstrap.bat)
@@ -164,7 +164,10 @@ target_compile_definitions(boost_asio INTERFACE
164164if (WIN32 )
165165 target_compile_definitions (boost INTERFACE
166166 # Required for Boost.WinAPI
167- _WIN32_WINNT=0x06020000
167+ # Since boost 1.78.0, set value >= 0x0602 will cause linker errors
168+ _WIN32_WINNT=0x0602
169+ # Set this as 0x0601 to fix linking error independent of target Windows version like above
170+ BOOST_USE_WINAPI_VERSION=0x0601
168171 )
169172endif ()
170173
You can’t perform that action at this time.
0 commit comments