2016-03-24 20:03:05 +01:00
|
|
|
find_package( Qt5 ${QT_VERSION} CONFIG REQUIRED WebKit WebKitWidgets )
|
2016-03-24 16:53:18 +01:00
|
|
|
|
2016-03-24 20:03:05 +01:00
|
|
|
include_directories( ${PROJECT_BINARY_DIR}/src/libcalamaresui
|
|
|
|
${QT_QTWEBKIT_INCLUDE_DIR} )
|
2015-08-14 17:18:17 +02:00
|
|
|
|
|
|
|
set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules )
|
|
|
|
|
|
|
|
|
|
|
|
calamares_add_plugin( webview
|
|
|
|
TYPE viewmodule
|
|
|
|
EXPORT_MACRO PLUGINDLLEXPORT_PRO
|
|
|
|
SOURCES
|
|
|
|
WebViewStep.cpp
|
|
|
|
LINK_LIBRARIES
|
2016-03-24 20:03:05 +01:00
|
|
|
calamaresui
|
|
|
|
Qt5::WebKit
|
|
|
|
Qt5::WebKitWidgets
|
2015-08-14 17:18:17 +02:00
|
|
|
SHARED_LIB
|
|
|
|
)
|