mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fwk: Added the variable CEE_USE_QT5 as an option in pdmCore and LibGuiQt, to make it visible in the Cmake Gui.
This commit is contained in:
parent
cc2b19cb57
commit
b802937657
@ -2,6 +2,8 @@ cmake_minimum_required (VERSION 2.8.12)
|
||||
project (cafPdmCore)
|
||||
|
||||
# Qt
|
||||
option(CEE_USE_QT5 "Use Qt 5 instead of Qt 4" true)
|
||||
|
||||
if (CEE_USE_QT5)
|
||||
find_package(Qt5 COMPONENTS REQUIRED Core)
|
||||
set(QT_LIBRARIES Qt5::Core)
|
||||
|
@ -12,6 +12,8 @@ endif()
|
||||
find_package(OpenGL)
|
||||
|
||||
# Qt
|
||||
option(CEE_USE_QT5 "Use Qt 5 instead of Qt 4" true)
|
||||
|
||||
if (CEE_USE_QT5)
|
||||
find_package(Qt5 COMPONENTS REQUIRED Core Gui Widgets OpenGL)
|
||||
set(QT_LIBRARIES Qt5::Core Qt5::Gui Qt5::Widgets Qt5::OpenGL)
|
||||
|
Loading…
Reference in New Issue
Block a user