c-project/libs/glad/CMakeLists.txt

5 lines
155 B
CMake

cmake_minimum_required(VERSION 3.1)
project(glad)
add_library(glad)
target_sources(glad PRIVATE src/glad.c)
target_include_directories(glad PUBLIC include)