[cmake] disable WITH_WEBVIEW if not build on linux/bsd
This commit is contained in:
parent
2cd64ba424
commit
8b04ab53eb
@ -1,4 +1,9 @@
|
||||
option(WITH_WEBVIEW "Build with WebView support for AAD login popup browser" ON)
|
||||
set(WITH_WEBVIEW_DEFAULT OFF)
|
||||
if (UNIX AND NOT APPLE)
|
||||
set(WITH_WEBVIEW_DEFAULT ON)
|
||||
endif()
|
||||
|
||||
option(WITH_WEBVIEW "Build with WebView support for AAD login popup browser" ${WITH_WEBVIEW_DEFAULT})
|
||||
if (WITH_WEBVIEW)
|
||||
option(WITH_WEBVIEW_QT "Build with QtWebEngine support for AAD login broweser popup" OFF)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user