cave-story-solaris/external/glad/CMakeLists.txt
Clownacy 5b996b3459 Give glad a CMake file
Today I learned that CMake will error if the project shares a
dependency with a nested CMake file (which could be from an
entirely-separate project that you have no control over).

I'm starting to really hate CMake.
2020-04-03 01:34:47 +01:00

11 lines
201 B
CMake

cmake_minimum_required(VERSION 3.12)
project(glad LANGUAGES C)
add_library(glad
"include/glad/glad.h"
"include/KHR/khrplatform.h"
"src/glad.c"
)
target_include_directories(glad PUBLIC "include")