mirror of
https://github.com/glfw/glfw.git
synced 2026-02-19 22:02:58 +01:00
Changed library output name to "glfw3", and pkg-config name to libglfw3.
Since the headers are already named differently, this allows side-by-side installation of GLFW 2.x and GLFW 3.x.
This commit is contained in:
@@ -30,6 +30,7 @@ elseif (_GLFW_X11_GLX)
|
||||
endif()
|
||||
|
||||
add_library(glfw ${glfw_SOURCES} ${glfw_HEADERS})
|
||||
set_target_properties(glfw PROPERTIES OUTPUT_NAME "glfw3")
|
||||
|
||||
if (BUILD_SHARED_LIBS)
|
||||
|
||||
|
||||
@@ -8,6 +8,6 @@ Description: A portable library for OpenGL, window and input
|
||||
Version: @GLFW_VERSION_FULL@
|
||||
URL: http://www.glfw.org/
|
||||
Requires.private: @GLFW_PKG_DEPS@
|
||||
Libs: -L${libdir} -lglfw
|
||||
Libs: -L${libdir} -lglfw3
|
||||
Libs.private: @GLFW_PKG_LIBS@
|
||||
Cflags: -I${includedir}
|
||||
Reference in New Issue
Block a user