OS X: don't consider libs from `/usr/local` as "system dependencies" during packaging

Otherwise they won't be moved into final application bundle.
sceneinput
Nikolay Kasyanov 10 years ago
parent 5fba7400a6
commit c868010c20

@ -537,7 +537,7 @@ function(gp_resolved_file_type original_file file exepath dirs type_var)
string(TOLOWER "${resolved_file}" lower) string(TOLOWER "${resolved_file}" lower)
if(UNIX) if(UNIX)
if(resolved_file MATCHES "^(/lib/|/lib32/|/lib64/|/usr/lib/|/usr/lib32/|/usr/lib64/|/usr/X11/|/usr/X11R6/|/usr/bin/|/usr/.*/lib/)") if(resolved_file MATCHES "^(/lib/|/lib32/|/lib64/|/usr/lib/|/usr/lib32/|/usr/lib64/|/usr/X11/|/usr/X11R6/|/usr/bin/)")
set(is_system 1) set(is_system 1)
endif() endif()
endif() endif()

Loading…
Cancel
Save