mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-06 14:34:28 +02:00
allow ANDROID_QT_CMAKE_PREFIX_PATH to designate Qt location
This commit is contained in:
parent
0af9a3ca36
commit
316bbce83c
1 changed files with 2 additions and 0 deletions
|
@ -65,6 +65,8 @@ endif ()
|
|||
if (ANDROID)
|
||||
if (NOT ANDROID_QT_CMAKE_PREFIX_PATH)
|
||||
set(QT_CMAKE_PREFIX_PATH ${ANDROID_LIB_DIR}/Qt/5.3/android_armv7/lib/cmake)
|
||||
else ()
|
||||
set(QT_CMAKE_PREFIX_PATH ${ANDROID_QT_CMAKE_PREFIX_PATH})
|
||||
endif ()
|
||||
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM BOTH)
|
||||
|
|
Loading…
Reference in a new issue