mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
cmake: copy DLL dependencies to output path
This also copies SDL3.dll from an external path when using system dependencies.
This commit is contained in:
parent
659a54b221
commit
5a5834f5c1
@ -482,6 +482,10 @@ if (ISLE_BUILD_APP)
|
||||
ISLE/res/isle.rc
|
||||
ISLE/isleapp.cpp
|
||||
)
|
||||
add_custom_command(TARGET isle POST_BUILD
|
||||
COMMAND "${CMAKE_COMMAND}" -E copy $<TARGET_RUNTIME_DLLS:isle> "$<TARGET_FILE_DIR:isle>"
|
||||
COMMAND_EXPAND_LISTS
|
||||
)
|
||||
|
||||
target_compile_definitions(isle PRIVATE ISLE_APP)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user