blob: 12b4080da86b18384b17072e66671058fd31eef8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# Find includes in corresponding build directories
set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Instruct CMake to run moc automatically when needed.
set(CMAKE_AUTOMOC ON)
add_library(web
profilemanager.cpp
profilemanager.h
webprofile.cpp
webprofile.h
)
target_include_directories(web
PRIVATE ${PROJECT_SOURCE_DIR}/include
)
target_link_libraries(web Qt5::WebEngineWidgets)
|