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