diff options
Diffstat (limited to 'cmake/FindQt5.cmake')
-rw-r--r-- | cmake/FindQt5.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindQt5.cmake b/cmake/FindQt5.cmake index 762ec8810c..304c3fc07d 100644 --- a/cmake/FindQt5.cmake +++ b/cmake/FindQt5.cmake @@ -52,7 +52,7 @@ endforeach() set(Qt5_FOUND ${Qt6_FOUND}) -foreach(tool qmake lrelease) +foreach(tool qmake lrelease moc) if (TARGET Qt6::${tool} AND NOT TARGET Qt5::${tool}) add_executable(Qt5::${tool} IMPORTED GLOBAL) get_target_property(imported_location Qt6::${tool} IMPORTED_LOCATION_RELEASE) |