[cmake] do not use qt for pybindings

This commit is contained in:
Arsentiy Milchakov 2017-08-03 12:45:12 +03:00 committed by Roman Kuznetsov
parent dcb8d99376
commit 61e92a6fb6

View file

@ -127,7 +127,7 @@ if (PYBINDINGS)
include_directories(${PYTHON_INCLUDE_DIRS})
endif()
if (NOT PLATFORM_IPHONE AND NOT PLATFORM_ANDROID)
if (NOT PLATFORM_IPHONE AND NOT PLATFORM_ANDROID AND NOT PYBINDINGS)
find_package(Qt5Core)
if (NOT Qt5Core_FOUND)
message(FATAL_ERROR "Qt5 cmake files were not found, please set QT_PATH environment variable")