CMake: Copy our DLLs to a DLL-specific directory.

Set our DLL build directory to the the target directory for wsutil.dll
instead of DATAFILE_DIR.
This commit is contained in:
Gerald Combs 2022-07-05 17:44:54 -05:00
parent dd5e2f3b3f
commit 51cb231208
1 changed files with 1 additions and 1 deletions

View File

@ -1992,7 +1992,7 @@ if(NOT WIN32)
endif()
if(USE_REPOSITORY)
set(_dll_output_dir "${DATAFILE_DIR}")
set(_dll_output_dir "$<TARGET_FILE_DIR:wsutil>")
add_custom_target(copy_cli_dlls)
set_target_properties(copy_cli_dlls PROPERTIES FOLDER "Copy Tasks")
add_custom_command(TARGET copy_cli_dlls PRE_BUILD