diff --git a/deps/third-repo/packages/p/polyhook_2/CMakeLists.txt b/deps/third-repo/packages/p/polyhook_2/CMakeLists.txt index f502acff3..196334bc4 100644 --- a/deps/third-repo/packages/p/polyhook_2/CMakeLists.txt +++ b/deps/third-repo/packages/p/polyhook_2/CMakeLists.txt @@ -4,6 +4,9 @@ include(FetchContent) set(FETCHCONTENT_QUIET OFF) +# Add the preprocessor definition to fix mutex +add_definitions(-D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR) + FetchContent_Declare(PolyHook2 GIT_REPOSITORY https://github.com/stevemk14ebr/PolyHook_2_0.git GIT_TAG fd2a88f09c8ae89440858fc52573656141013c7f