diff --git a/emulators/aqemu/files/patch-CMakeLists.txt b/emulators/aqemu/files/patch-CMakeLists.txt index f533ecc3b3c2..177073cc5e08 100644 --- a/emulators/aqemu/files/patch-CMakeLists.txt +++ b/emulators/aqemu/files/patch-CMakeLists.txt @@ -1,11 +1,20 @@ --- CMakeLists.txt.orig 2016-05-31 12:34:02 UTC +++ CMakeLists.txt +@@ -6,7 +6,7 @@ PROJECT( AQEMU CXX ) + # Tobias Gläßer (Qt5 port) + + PROJECT( AQEMU CXX ) +-CMAKE_MINIMUM_REQUIRED( VERSION 3.1.0 FATAL_ERROR ) ++CMAKE_MINIMUM_REQUIRED( VERSION 3.10 FATAL_ERROR ) + + # Available options + OPTION( DEBUG "Build with debug information" ) @@ -285,7 +285,7 @@ MACRO( pack_icons _sources ) SET( _out ${CMAKE_CURRENT_SOURCE_DIR}/${_basename}.rcc ) - ADD_CUSTOM_COMMAND( OUTPUT ${_out} COMMAND rcc ARGS ${_in} -binary -o ${_out} DEPENDS ${_in} ) + ADD_CUSTOM_COMMAND( OUTPUT ${_out} COMMAND ${Qt5Core_RCC_EXECUTABLE} ARGS ${_in} -binary -o ${_out} DEPENDS ${_in} ) SET( ${_sources} ${${_sources}} ${_out} ) ENDFOREACH( curFile )