From 7e3abd62fde066053e98eae760e3b5f982e504c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=8B=D1=87=D0=BA=D0=BE=D0=B2=20=D0=90=D0=BD=D0=B4?= =?UTF-8?q?=D1=80=D0=B5=D0=B9?= Date: Wed, 27 Nov 2019 08:13:57 +0000 Subject: [PATCH] add option for QGLEngine git-svn-id: svn://db.shs.com.ru/libs@634 a8b55f48-bf90-11e4-a774-851b48703e85 --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index e4be461..d279658 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,6 +42,7 @@ endif() option(LIB "System install" 1) option(DEBUG "Build with -g3" 0) option(QGLVIEW "Build QGLview library and utils" 1) +option(QGLENGINE "Build QGLENGINE library and utils" 0) option(UTILS "Build various utils" 1) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -Wall") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3 -Wall") @@ -128,6 +129,10 @@ if (SomeQtFound) set(_DIRS piqt piqt_utils qcd_utils) if (QGLVIEW) list(APPEND _DIRS qglview) + else() + if (QGLENGINE) + list(APPEND _DIRS qglengine) + endif() endif() foreach(_D ${_DIRS}) list(APPEND QT_MULTILIB_LIST ${_D})