allow ANDROID_QT_CMAKE_PREFIX_PATH to designate Qt location

This commit is contained in:
Stephen Birarda 2015-01-22 11:04:04 -08:00
parent 0af9a3ca36
commit 316bbce83c

View file

@ -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)