From 61e92a6fb6288304ac78197b7713dc7e820a5c85 Mon Sep 17 00:00:00 2001 From: Arsentiy Milchakov Date: Thu, 3 Aug 2017 12:45:12 +0300 Subject: [PATCH] [cmake] do not use qt for pybindings --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6944cab6d4..4e61922cba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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")