hyporo-cpp/cmake/external/glad.cmake

15 lines
388 B
CMake
Raw Normal View History

2022-12-13 23:09:36 +05:00
include(${CMAKE_SOURCE_DIR}/cmake/tools/CPM.cmake)
2022-10-05 21:10:51 +05:00
CPMAddPackage(
NAME glad
GIT_REPOSITORY https://github.com/Dav1dde/glad.git
2023-01-11 14:46:49 +05:00
#VERSION 2.0.2
2022-10-05 21:10:51 +05:00
VERSION 0.1.36
GIT_PROGRESS TRUE
OPTIONS "GLAD_EXPORT ON" "GLAD_INSTALL ON"
)
2023-01-11 14:46:49 +05:00
#if(glad_ADDED)
# add_subdirectory("${glad_SOURCE_DIR}/cmake" glad_cmake)
# glad_add_library(glad REPRODUCIBLE API gl:core=3.3)
#endif()