Skip to content
Snippets Groups Projects
Commit 184e9590 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

BUG: Mantis-1364: mach-o bundle not detected caused missing libraries in package

parent 71e56f38
No related branches found
No related tags found
No related merge requests found
......@@ -241,6 +241,13 @@ function(is_file_executable2 file_var result_var)
return()
endif()
# detect shared libraries on Mac OSX
# where "file" gives "Mach-O 64-bit x86_64 bundle"
if("${file_ov}" MATCHES "mach-o.*bundle")
set(${result_var} 1 PARENT_SCOPE)
return()
endif()
endif(APPLE)
endfunction()
......
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