UI: Allow QT to be found via cmake variable
This commit is contained in:
parent
8421051831
commit
b39445f323
@ -10,7 +10,11 @@ else()
|
||||
set(FIND_MODE QUIET)
|
||||
endif()
|
||||
|
||||
if(DEFINED ENV{QTDIR${_lib_suffix}})
|
||||
if(DEFINED QTDIR${_lib_suffix})
|
||||
list(APPEND CMAKE_PREFIX_PATH "${QTDIR${_lib_suffix}}")
|
||||
elseif(DEFINED QTDIR)
|
||||
list(APPEND CMAKE_PREFIX_PATH "${QTDIR}")
|
||||
elseif(DEFINED ENV{QTDIR${_lib_suffix}})
|
||||
list(APPEND CMAKE_PREFIX_PATH "$ENV{QTDIR${_lib_suffix}}")
|
||||
elseif(DEFINED ENV{QTDIR})
|
||||
list(APPEND CMAKE_PREFIX_PATH "$ENV{QTDIR}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user