CMake: Stop using FindOpenGL, which seems to not be required anymore
This commit is contained in:
parent
c53ace55e1
commit
08a93f99d2
4 changed files with 4 additions and 6 deletions
3
externals/glad/CMakeLists.txt
vendored
3
externals/glad/CMakeLists.txt
vendored
|
@ -9,6 +9,7 @@ set(HEADERS
|
|||
create_directory_groups(${SRCS} ${HEADERS})
|
||||
add_library(glad STATIC ${SRCS} ${HEADERS})
|
||||
target_include_directories(glad PUBLIC "include/")
|
||||
|
||||
if ("${CMAKE_SYSTEM_NAME}" MATCHES "Linux")
|
||||
target_link_libraries(glad dl)
|
||||
target_link_libraries(glad PRIVATE dl)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue