Commit 1d7176b4 authored by Alexis Girault's avatar Alexis Girault

Merge branch 'fix-ftd2xx-config' into 'master'

COMP: fix ftd2xx.lib copy at compile time

On some windows systems, the command `cmake -E copy`
within `copy_ftd2xx_static_command` renames the ftd2xx.lib
file as `lib\${BUILD_TYPE}` instead of copying it within
the directory of the same name. Because of this, the directory
can not be created in the future for other libraries, explaining
the high number of compilation errors (~50)

Placing a `\` at the end of the destination directory should fix
this issue.

See merge request !93
parents 591503a4 1fdfa17a
......@@ -26,7 +26,7 @@ set(copy_ftd2xx_shared_command
set(copy_ftd2xx_static_command
${CMAKE_COMMAND} -E copy
${FTD2XX_EXTRACT_DIR}/${ftd2xx_libdir}/ftd2xx.lib
${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${CMAKE_CFG_INTDIR}
${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${CMAKE_CFG_INTDIR}/ftd2xx.lib
)
set(remove_ftd2xx_static_command
${CMAKE_COMMAND} -E remove
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment