summaryrefslogtreecommitdiffhomepage
path: root/src/external/glfw/CMakeLists.txt
AgeCommit message (Collapse)Author
2024-02-29Update GLFW to 3.4 (#3827)Alexandre Almeida
* Update GLFW to 3.4 (draft) * Add _glfwConnectNull() function to rglfw.c * Update rglfw.c * Update Makefile * Makefile: Replace USE_WAYLAND_DISPLAY with DISABLE_WAYLAND * Revert "Makefile: Replace USE_WAYLAND_DISPLAY with DISABLE_WAYLAND" This reverts commit 9e79abde786bf797d8133fd95e8a475cf6e2b066. * GlfwImport.cmake: Replace GLFW_USE_WAYLAND with GLFW_BUILD_WAYLAND * Update rglfw.c * Output platform selected by GLFW to TRACELOG * GLFW has removed Mir support
2022-08-28WARNING: UPDATED GLFW to latest master branch!Ray
WARNING: This could be a BREAKING CHANGE for some platforms! I'm afraid something could be wrong on `rglfw.c` module. To be able to compile on Windows I had to modify `glfw/src/platform.c` line 74. I couldn't manage to compile without that change, help is welcome!
2021-06-08Update GLFW to latest version #1817Ray
2020-12-02Update CMakeLists.txtRay
2020-12-01Update CMakeLists.txtRay
2020-11-30Updated GLFW to latest 3.4 (github master - 16Nov2020)Ray
WARNING: Some CMake files not changed WARNING: glfw_native.h contains custom changes
2020-02-06Update GLFW to latest masterRay
2019-12-05external: glfw: reinstate export of GLFW_PKG_{DEPS,LIBS}Ahmad Fatoum
We were doing this before, but it was deleted during the last GLFW update. Readd it to fix the associated macOS CI failure. Fixes: ea5cd42e6 ("Update GLFW to version 3.4")
2019-12-01Update GLFW to version 3.4Ray
2019-05-15external: glfw: Revert "Added WinMM library"Ahmad Fatoum
This reverts commit 4773de26a50c29ae918e306c9936ad9d4ebf80aa. which adds -lwinmm at the wrong place. It should be in the raylib linker flags, not GLFW's.
2019-05-07Added WinMM libraryRay
Required for high resolution timer
2019-05-04external: glfw: reinstate export of GLFW_PKG_{DEPS,LIBS}Ahmad Fatoum
We were doing this before, but it was deleted during the last GLFW update. Readd it to fix the associated macOS CI failure. Fixes: cd934c9f6 ("Update GLFW to 3.3.1")
2019-04-22Update GLFW to 3.3.1Ray
2019-01-08glfw: Update GLFW to current masterAhmad Fatoum
glfw/glfw@5595fa3ae6 implements a proper fix for the macOS Mojave problem of OpenGL windows not being rendered until moved or manually updated. Pull in the current master and rebase the three patches we have on top: - two commits we have for reuse of the GLFW CMake build system for Wayland It hasn't yet to be acknowledged upstream. - one commit removing #include <windows.h> in glfw3native.h to avoid duplicate declarations. Fixes #655 and #665.
2018-07-29Sync with upstream GLFW pull requestAhmad Fatoum
The GLFW tree distributed with raylib has two modifications: - GLFW_PKG_{DEPS,LIBS} are exported to PARENT_SCOPE, so we can use them in our pkg-config file - An intermediary glfw_objlib target is added, so we can reexport GLFW symbols from libraylib.a rglfw can fix the second point, but for Wayland usage, we would have to replicate protocol generation, so we just leverage GLFW's existing support instead. To make maintenance easier, I have submitted a pull request for including these modifications to upstream GLFW. And to make that one easier, this patch dog-foods the modifications, so raylib users can help find regressions. :-) glfw/glfw#1307
2018-07-03CMake: Reuse libraries found by glfw CMake configAhmad Fatoum
if (${PLATFORM} MATCHES "Desktop") target_link_libraries(${RAYLIB}_shared glfw ${GLFW_LIBRARIES}) was never true because PLATFORM STREQUAL "PLATFORM_DESKTOP"... This fixes #551 and makes the changes suggested in #552 (commited as 965cc8ab) unnecessary.
2018-05-10Add GLFW source tree to src/externalAhmad Fatoum
We need the CMake stuff for wayland configuration. Otherwise, we would have to replicate that ourselves. This is the full 7ef34eb06de54dd9186d3d21a401b2ef819b59e7 tree except for tests/ examples/ and docs/