forked from qt-creator/qt-creator
macOS: Exclude CMAKE_PREFIX_PATH when searching for dsymutil
dsymutil is shipped with libclang, but we usually don't want to use that. Fixes universal builds while we don't have a universal build of libclang yet. Change-Id: Ie5c435e1c391f7bb0a8f1faadbb7b3375d101990 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
@@ -26,7 +26,9 @@ function(qtc_enable_separate_debug_info target installDestination)
|
||||
|
||||
unset(commands)
|
||||
if(APPLE)
|
||||
find_program(DSYMUTIL_PROGRAM dsymutil)
|
||||
find_program(DSYMUTIL_PROGRAM dsymutil
|
||||
NO_PACKAGE_ROOT_PATH
|
||||
NO_CMAKE_PATH)
|
||||
set(copy_bin ${DSYMUTIL_PROGRAM})
|
||||
set(strip_bin ${CMAKE_STRIP})
|
||||
set(debug_info_suffix dSYM)
|
||||
|
||||
Reference in New Issue
Block a user