Skip to content
Snippets Groups Projects
Commit c671eb5b authored by Lars Bilke's avatar Lars Bilke
Browse files

[CMake] Get exe dependencies recursive.

Fixes Windows packaging (QtNetwork.dll was missing).
parent 36130920
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ macro(InstallDependencies TARGET INSTALL_COMPONENT)
if(EXISTS ${TARGET_EXE})
include(GetPrerequisites)
# arg3: exclude system, arg4: recursive
get_prerequisites(${TARGET_EXE} TARGET_DEPENDENCIES 1 0 "" "")
get_prerequisites(${TARGET_EXE} TARGET_DEPENDENCIES 1 1 "" "")
message(STATUS "${TARGET_EXE} dependencies:")
foreach(DEPENDENCY ${TARGET_DEPENDENCIES})
if(NOT ${DEPENDENCY} MATCHES "@loader_path")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment