mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-24 08:38:39 -06:00
GetPrerequisites: use CMAKE_OBJDUMP if it is set
This commit is contained in:
@@ -710,7 +710,9 @@ function(get_prerequisites target prerequisites_var exclude_system recurse exepa
|
||||
find_program(gp_dumpbin "dumpbin" PATHS ${gp_cmd_paths})
|
||||
if(gp_dumpbin)
|
||||
set(gp_tool "dumpbin")
|
||||
else() # Try harder. Maybe we're on MinGW
|
||||
elseif(CMAKE_OBJDUMP) # Try harder. Maybe we're on MinGW
|
||||
set(gp_tool "${CMAKE_OBJDUMP}")
|
||||
else()
|
||||
set(gp_tool "objdump")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user