mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 11:32:42 +01:00
9ce9467dd7
Downgrade to 3.16 that ships with Ubuntu 20.04 Fix QML modules that does not exists ( cmake on Windows just ignores this lol)
27 lines
443 B
CMake
27 lines
443 B
CMake
project(ScreenPlaySDK)
|
|
|
|
set(CMAKE_AUTORCC ON)
|
|
set(CMAKE_AUTOMOC ON)
|
|
|
|
find_package(
|
|
Qt5
|
|
COMPONENTS Quick
|
|
Network
|
|
Core
|
|
REQUIRED)
|
|
|
|
set(src screenplay-sdk_plugin.cpp
|
|
screenplaysdk.cpp)
|
|
|
|
set(headers screenplay-sdk_plugin.h
|
|
screenplaysdk.h)
|
|
|
|
add_library(${PROJECT_NAME} ${src} ${headers})
|
|
|
|
target_link_libraries(${PROJECT_NAME}
|
|
PRIVATE
|
|
Qt5::Core
|
|
Qt5::Quick
|
|
Qt5::Gui
|
|
Qt5::Network)
|