Clarify copying of cpptrace target on windows
This commit is contained in:
parent
0742b42dad
commit
9a7bd8f95e
@ -139,7 +139,8 @@ FetchContent_Declare(
|
|||||||
FetchContent_MakeAvailable(cpptrace)
|
FetchContent_MakeAvailable(cpptrace)
|
||||||
target_link_libraries(your_target cpptrace::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)
|
if(WIN32)
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
TARGET your_target POST_BUILD
|
TARGET your_target POST_BUILD
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user