From 9a7bd8f95e590754aa39392c998207373cc6bc7f Mon Sep 17 00:00:00 2001 From: Jeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com> Date: Wed, 28 Aug 2024 20:02:21 -0500 Subject: [PATCH] Clarify copying of cpptrace target on windows --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c5879ac..d97eaaf 100644 --- a/README.md +++ b/README.md @@ -139,7 +139,8 @@ FetchContent_Declare( FetchContent_MakeAvailable(cpptrace) target_link_libraries(your_target cpptrace::cpptrace) -# On windows copy cpptrace.dll to the same directory as the executable for your_target +# Needed for shared library builds on windows: copy cpptrace.dll to the same directory as the +# executable for your_target if(WIN32) add_custom_command( TARGET your_target POST_BUILD