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

13 lines
402 B
CMake

# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: MIT
cmake_minimum_required(VERSION 3.21)
project(opengl_cpp_underlay LANGUAGES CXX)
if (NOT TARGET Slint::Slint)
find_package(Slint REQUIRED)
endif()
add_executable(opengl_underlay main.cpp)
target_link_libraries(opengl_underlay PRIVATE Slint::Slint OpenGLES2::OpenGLES2)
slint_target_sources(opengl_underlay scene.slint)