mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-30 07:07:25 +00:00
13 lines
398 B
CMake
13 lines
398 B
CMake
# Copyright © SixtyFPS GmbH <info@slint.dev>
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
cmake_minimum_required(VERSION 3.21)
|
|
project(opengl_cpp_texture LANGUAGES CXX)
|
|
|
|
if (NOT TARGET Slint::Slint)
|
|
find_package(Slint REQUIRED)
|
|
endif()
|
|
|
|
add_executable(opengl_texture main.cpp)
|
|
target_link_libraries(opengl_texture PRIVATE Slint::Slint OpenGLES2::OpenGLES2)
|
|
slint_target_sources(opengl_texture scene.slint)
|