You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
408 B

if(TARGET glad::glad)
return()
endif()
message(STATUS "Third-party: creating target 'glad::glad'")
include(FetchContent)
FetchContent_Declare(
glad
GIT_REPOSITORY https://github.com/libigl/libigl-glad.git
GIT_TAG ead2d21fd1d9f566d8f9a9ce99ddf85829258c7a
)
FetchContent_MakeAvailable(glad)
add_library(glad::glad ALIAS glad)
set_target_properties(glad PROPERTIES FOLDER ThirdParty)