calamares/src/modules/webview/CMakeLists.txt
Teo Mrnjavac 8806bb67ac Revert "Merge pull request #239 from calamares/qtwebengine"
This reverts commit 8f0fafa147, reversing
changes made to b8729bf1b3.
2016-03-24 20:03:05 +01:00

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
)