Commit 8d59ebb7 authored by Rolf Eike Beer's avatar Rolf Eike Beer

GetPrerequisites: use CMAKE_OBJDUMP if it is set

parent e33f4cb0
......@@ -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()
......
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