Commit 184e9590 authored by Guillaume Pasero's avatar Guillaume Pasero

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

parent 71e56f38
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment