slint/examples/opengl_texture/CMakeLists.txt
2023-06-16 10:55:08 +02:00

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)