aboutsummaryrefslogtreecommitdiff
path: root/plugins/ProfileEditor/CMakeLists.txt
blob: a4a4005d0c870627bcf388dea0f3b27def5dff2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
cmake_minimum_required(VERSION 3.1.0)

find_package(Qt5Core REQUIRED)
find_package(Qt5Widgets REQUIRED)
find_package(Qt5WebEngineWidgets REQUIRED)

set(CMAKE_AUTOMOC ON)

add_library(ProfileEditorPlugin SHARED
        profileeditorplugin.cpp
        profileeditorplugin.h
        forms/profileview.cpp
        forms/profileview.h
        forms/profileview.ui)

target_include_directories(ProfileEditorPlugin
        PRIVATE ..)

target_link_libraries(ProfileEditorPlugin
        PRIVATE Qt5::Widgets
        PRIVATE Qt5::WebEngineWidgets)

install(TARGETS ProfileEditorPlugin LIBRARY DESTINATION lib/smolbote CONFIGURATIONS Release)