c-project/libs/gl2d/CMakeLists.txt

7 lines
254 B
CMake
Raw Normal View History

2024-05-15 11:25:35 +02:00
cmake_minimum_required(VERSION 3.1)
project(gl2d)
add_library(gl2d)
target_sources(gl2d PRIVATE "src/gl2d.cpp")
2024-05-15 12:10:29 +02:00
target_include_directories(gl2d PUBLIC include "${CMAKE_SOURCE_DIR}/libs/glm")
2024-05-15 11:25:35 +02:00
target_link_libraries(gl2d PUBLIC glad stb_image stb_truetype)