From 9561ebad1c1170ed7a489fc1ced8425f34ce84bc Mon Sep 17 00:00:00 2001 From: Jackarain Date: Tue, 30 Jul 2024 19:55:06 +0800 Subject: [PATCH] Fix mingw cross-compile --- CMakeLists.txt | 2 +- src/detail/utf8.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c009f2f66..be4cba054 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,7 +57,7 @@ else() endif() if (WIN32) - target_link_libraries(boost_process PUBLIC ntdll shell32 Advapi32 user32) + target_link_libraries(boost_process PUBLIC ntdll shell32 advapi32 user32) endif() if(BUILD_SHARED_LIBS) diff --git a/src/detail/utf8.cpp b/src/detail/utf8.cpp index a70fd1cc2..f13a0b6d1 100644 --- a/src/detail/utf8.cpp +++ b/src/detail/utf8.cpp @@ -9,7 +9,7 @@ #include #if defined(BOOST_PROCESS_V2_WINDOWS) -#include +#include #endif BOOST_PROCESS_V2_BEGIN_NAMESPACE