ref: ee1d777ebb70a9d7692ec5af8a99d4ad0942a15c
dir: /external/glad/CMakeLists.txt/
cmake_minimum_required(VERSION 3.12) if(NOT TARGET glad) project(glad LANGUAGES C) add_library(glad STATIC "include/glad/glad.h" "include/KHR/khrplatform.h" "src/glad.c" ) target_include_directories(glad PUBLIC "include") target_link_libraries(glad PRIVATE ${CMAKE_DL_LIBS}) endif(NOT TARGET glad)