Skip to content

Commit

Permalink
Use GLOB instead of GLOB_RECURSE to move libraries on Linux.
Browse files Browse the repository at this point in the history
With GLOB_RECURSE we were also moving the Qt plugins,
which are supposed to be in "bin/plugins".
  • Loading branch information
mleotta committed Jun 13, 2019
1 parent c1b2ae1 commit e76d213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}\")
Expand Down

0 comments on commit e76d213

Please sign in to comment.