summaryrefslogtreecommitdiffhomepage
path: root/src/external/glfw/CMake
diff options
context:
space:
mode:
authorRay <[email protected]>2020-11-30 09:11:22 +0100
committerRay <[email protected]>2020-11-30 09:11:22 +0100
commit83916bd3c271d45fd60431b66fca0560cd0c2f93 (patch)
tree3f7b5bf90afba1821e9120c9944d3fcd5d60c1f3 /src/external/glfw/CMake
parent23ed67cce0c0498896cea84cda9c7a0080ef55f8 (diff)
downloadraylib-83916bd3c271d45fd60431b66fca0560cd0c2f93.tar.gz
raylib-83916bd3c271d45fd60431b66fca0560cd0c2f93.zip
Updated GLFW to latest 3.4 (github master - 16Nov2020)
WARNING: Some CMake files not changed WARNING: glfw_native.h contains custom changes
Diffstat (limited to 'src/external/glfw/CMake')
-rw-r--r--src/external/glfw/CMake/glfw3.pc.in13
-rw-r--r--src/external/glfw/CMake/glfw3Config.cmake.in3
2 files changed, 16 insertions, 0 deletions
diff --git a/src/external/glfw/CMake/glfw3.pc.in b/src/external/glfw/CMake/glfw3.pc.in
new file mode 100644
index 00000000..f74298d4
--- /dev/null
+++ b/src/external/glfw/CMake/glfw3.pc.in
@@ -0,0 +1,13 @@
+prefix=@CMAKE_INSTALL_PREFIX@
+exec_prefix=${prefix}
+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
+
+Name: GLFW
+Description: A multi-platform library for OpenGL, window and input
+Version: @GLFW_VERSION@
+URL: https://www.glfw.org/
+Requires.private: @GLFW_PKG_DEPS@
+Libs: -L${libdir} -l@GLFW_LIB_NAME@
+Libs.private: @GLFW_PKG_LIBS@
+Cflags: -I${includedir}
diff --git a/src/external/glfw/CMake/glfw3Config.cmake.in b/src/external/glfw/CMake/glfw3Config.cmake.in
new file mode 100644
index 00000000..4a13a88b
--- /dev/null
+++ b/src/external/glfw/CMake/glfw3Config.cmake.in
@@ -0,0 +1,3 @@
+include(CMakeFindDependencyMacro)
+find_dependency(Threads)
+include("${CMAKE_CURRENT_LIST_DIR}/glfw3Targets.cmake")