mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 12:35:14 +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
Notes:
sideshowbarker
2024-07-17 01:06:10 +09:00
Author: https://github.com/krkk Commit: https://github.com/SerenityOS/serenity/commit/bc587b89d8 Pull-request: https://github.com/SerenityOS/serenity/pull/16628 Reviewed-by: https://github.com/ADKaster ✅
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
Reference in a new issue