mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-04 15:09:40 +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
|
@ -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…
Reference in a new issue