mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Quieten Qt5 check in caf unittests
This commit is contained in:
parent
0371a1962e
commit
8cd2d37b92
@ -1,15 +1,15 @@
|
||||
cmake_minimum_required (VERSION 2.8.12)
|
||||
|
||||
find_package(Qt5 CONFIG REQUIRED Core)
|
||||
project ( cafPdmCore_UnitTests )
|
||||
|
||||
find_package(Qt5Core CONFIG QUIET)
|
||||
if (Qt5Core_FOUND)
|
||||
find_package(Qt5 CONFIG REQUIRED Core Gui Widgets)
|
||||
else()
|
||||
find_package(Qt4 COMPONENTS QtCore QtGui QtMain REQUIRED)
|
||||
include(${QT_USE_FILE})
|
||||
include(${QT_USE_FILE})
|
||||
endif(Qt5Core_FOUND)
|
||||
|
||||
project ( cafPdmCore_UnitTests )
|
||||
|
||||
include_directories (
|
||||
${CMAKE_CURRENT_SOURCE_DIR} # required for gtest-all.cpp
|
||||
)
|
||||
|
@ -1,6 +1,6 @@
|
||||
cmake_minimum_required (VERSION 2.8.12)
|
||||
|
||||
find_package(Qt5 CONFIG COMPONENTS Core)
|
||||
find_package(Qt5Core CONFIG QUIET)
|
||||
if (Qt5Core_FOUND)
|
||||
find_package(Qt5 CONFIG REQUIRED Core Xml)
|
||||
else()
|
||||
|
@ -1,6 +1,6 @@
|
||||
cmake_minimum_required (VERSION 2.8.12)
|
||||
|
||||
find_package(Qt5 CONFIG COMPONENTS Core)
|
||||
find_package(Qt5Core CONFIG QUIET)
|
||||
if (Qt5Core_FOUND)
|
||||
find_package(Qt5 CONFIG REQUIRED Core Xml)
|
||||
else()
|
||||
|
@ -6,7 +6,7 @@ project ( cafTestApplication )
|
||||
find_package( OpenGL )
|
||||
|
||||
# Qt
|
||||
find_package(Qt5 CONFIG COMPONENTS Core)
|
||||
find_package(Qt5Core CONFIG QUIET)
|
||||
if (Qt5Core_FOUND)
|
||||
find_package(Qt5 CONFIG REQUIRED Core Gui OpenGL Widgets)
|
||||
else()
|
||||
|
Loading…
Reference in New Issue
Block a user