From e76d2135e9fd9d1539fd961618d4840e2ae71f8c Mon Sep 17 00:00:00 2001 From: Matt Leotta Date: Thu, 13 Jun 2019 17:12:03 -0400 Subject: [PATCH] Use GLOB instead of GLOB_RECURSE to move libraries on Linux. With GLOB_RECURSE we were also moving the Qt plugins, which are supposed to be in "bin/plugins". --- gui/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt index 24005ad7c..17aa5fd6d 100644 --- a/gui/CMakeLists.txt +++ b/gui/CMakeLists.txt @@ -406,7 +406,7 @@ set(bundle_path \"${bundle_path}\") # fixup_bundle puts all libraries in \"bin\" on Linux. # we want them in \"lib\" instead, so move them - file(GLOB_RECURSE dyn_libs \"${dest_prefix}/bin/*.so*\") + file(GLOB dyn_libs \"${dest_prefix}/bin/*.so*\") foreach(dyn_lib \${dyn_libs}) get_filename_component(fname \${dyn_lib} NAME) message(STATUS \"Moving bin->lib : \${fname}\")