diff options
Diffstat (limited to 'CMake/Modules/QtAxMacros.cmake')
| -rw-r--r-- | CMake/Modules/QtAxMacros.cmake | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/CMake/Modules/QtAxMacros.cmake b/CMake/Modules/QtAxMacros.cmake index ee9f88a1..a6ee98d1 100644 --- a/CMake/Modules/QtAxMacros.cmake +++ b/CMake/Modules/QtAxMacros.cmake @@ -5,7 +5,10 @@ if (WIN32) include (CMakeParseArguments) - find_program (DUMPCPP_Executable dumpcpp.exe) + find_program (DUMPCPP_Executable NAMES dumpcpp-qt5 dumpcpp) + if (NOT DUMPCPP_Executable) + message (FATAL_ERROR "dumpcpp tool not found") + endif () # wrap_ax_server (outfiles inputfile ...) @@ -33,4 +36,4 @@ if (WIN32) set(${outfiles} ${${outfiles}} PARENT_SCOPE) endfunction () -endif (WIN32)
\ No newline at end of file +endif (WIN32) |
