Skip to content

Commit

Permalink
Add mutex fix for polyhook
Browse files Browse the repository at this point in the history
  • Loading branch information
narknon committed Jun 27, 2024
1 parent 8d21bf4 commit bc157e8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deps/third-repo/packages/p/polyhook_2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bc157e8

Please sign in to comment.