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:
parent
dd5e2f3b3f
commit
51cb231208
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue