8806bb67ac
This reverts commit8f0fafa147
, reversing changes made tob8729bf1b3
.
21 lines
523 B
CMake
21 lines
523 B
CMake
find_package( Qt5 ${QT_VERSION} CONFIG REQUIRED WebKit WebKitWidgets )
|
|
|
|
include_directories( ${PROJECT_BINARY_DIR}/src/libcalamaresui
|
|
${QT_QTWEBKIT_INCLUDE_DIR} )
|
|
|
|
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
|
|
calamaresui
|
|
Qt5::WebKit
|
|
Qt5::WebKitWidgets
|
|
SHARED_LIB
|
|
)
|