mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:07:44 +00:00
CMake: Don't require to install glapi.h to system
This failed when a current build configuration hadn't got any program depending on LibGL.
This commit is contained in:
parent
22a99e39d8
commit
bc587b89d8
1 changed files with 1 additions and 1 deletions
|
@ -10,5 +10,5 @@ function (generate_libgl_implementation)
|
|||
arguments -j "${LIBGL_INPUT_FOLDER}/GLAPI.json"
|
||||
)
|
||||
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/GL/glapi.h" DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/LibGL/GL/")
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/GL/glapi.h" DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/LibGL/GL/" OPTIONAL)
|
||||
endfunction()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue