blob: 6c7e01e63d7a3a28ae450edd9fbad4149fa255a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
cmake_minimum_required(VERSION 3.16)
find_package(Qt6 REQUIRED COMPONENTS Widgets)
qt_standard_project_setup()
file(GLOB installer_omod_native_SOURCES CONFIGURE_DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/*.cpp
${CMAKE_CURRENT_SOURCE_DIR}/*.h
)
add_library(installer_omod_native SHARED ${installer_omod_native_SOURCES})
mo2_configure_plugin(installer_omod_native NO_SOURCES WARNINGS OFF)
target_link_libraries(installer_omod_native PRIVATE mo2::uibase Qt6::Widgets z lzma)
mo2_install_plugin(installer_omod_native)
|