Clarify copying of cpptrace target on windows

This commit is contained in:
Jeremy Rifkin 2024-08-28 20:02:21 -05:00
parent 0742b42dad
commit 9a7bd8f95e
No known key found for this signature in database
GPG Key ID: 19AA8270105E8EB4

View File

@ -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