Skip to content

Commit

Permalink
Fix mingw cross-compile
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackarain authored and klemens-morgenstern committed Jul 31, 2024
1 parent 755a3ec commit 9561eba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/detail/utf8.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <boost/process/v2/error.hpp>

#if defined(BOOST_PROCESS_V2_WINDOWS)
#include <Windows.h>
#include <windows.h>
#endif

BOOST_PROCESS_V2_BEGIN_NAMESPACE
Expand Down

0 comments on commit 9561eba

Please sign in to comment.