System : Add option RESINSIGHT_BUILD_WITH_QT5

This commit is contained in:
Magne Sjaastad 2019-01-07 13:58:34 +01:00
parent 6ca725b5e8
commit ca267a7f44

View File

@ -236,6 +236,7 @@ list(APPEND THIRD_PARTY_LIBRARIES
################################################################################
# Qt
################################################################################
option(RESINSIGHT_BUILD_WITH_QT5 "Use Qt5 folder" OFF)
if (RESINSIGHT_BUILD_WITH_QT5)
message(STATUS "Attempting to build with Qt5")
find_package(Qt5 COMPONENTS Core QUIET)