mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
qrenderdoc: Use QMAKE_EXECUTABLE if QT_QMAKE_EXECUTABLE is not defined
Debian's debhelper automatically defines this variable during cross compilation builds. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
committed by
Baldur Karlsson
parent
c74edcebbd
commit
cf91e8badf
@@ -2,7 +2,11 @@ option(STATIC_QRENDERDOC "Compile qrenderdoc as static" OFF)
|
||||
option(QRENDERDOC_NO_CXX11_REGEX "Disable C++11 regex in scintilla" OFF)
|
||||
|
||||
if( NOT DEFINED QT_QMAKE_EXECUTABLE )
|
||||
set( QT_QMAKE_EXECUTABLE "qmake" )
|
||||
if( DEFINED QMAKE_EXECUTABLE )
|
||||
set( QT_QMAKE_EXECUTABLE "${QMAKE_EXECUTABLE}" )
|
||||
else()
|
||||
set( QT_QMAKE_EXECUTABLE "qmake" )
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set(QMAKE_QT5_COMMAND ${QT_QMAKE_EXECUTABLE} CACHE STRING "Command to run to invoke Qt5's qmake. Normally this is qmake, possibly with qtchooser, but might be qmake-qt5")
|
||||
|
||||
Reference in New Issue
Block a user