mirror of
https://github.com/glfw/glfw.git
synced 2026-11-21 14:08:11 +00: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:
+3
-3
@@ -251,10 +251,10 @@ install(FILES COPYING.txt readme.html
|
||||
# Create and install pkg-config file on supported platforms
|
||||
#--------------------------------------------------------------------
|
||||
if (_GLFW_X11_GLX OR _GLFW_COCOA_NSGL)
|
||||
configure_file(${GLFW_SOURCE_DIR}/src/libglfw.pc.in
|
||||
${GLFW_BINARY_DIR}/src/libglfw.pc @ONLY)
|
||||
configure_file(${GLFW_SOURCE_DIR}/src/libglfw3.pc.in
|
||||
${GLFW_BINARY_DIR}/src/libglfw3.pc @ONLY)
|
||||
|
||||
install(FILES ${GLFW_BINARY_DIR}/src/libglfw.pc
|
||||
install(FILES ${GLFW_BINARY_DIR}/src/libglfw3.pc
|
||||
DESTINATION lib/pkgconfig)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user