summaryrefslogtreecommitdiffhomepage
path: root/raylib.pc.in
diff options
context:
space:
mode:
authorAhmad Fatoum <[email protected]>2020-08-08 00:44:40 +0200
committerAhmad Fatoum <[email protected]>2020-08-08 01:11:45 +0200
commit1841a6bd3b9600484b368b546eef34f7860e4951 (patch)
tree9777f6b348b58c2bad158c6921abc2c60e90f421 /raylib.pc.in
parent6108ba89df9acca1a35c24b30882a2d1568c7b71 (diff)
downloadraylib-1841a6bd3b9600484b368b546eef34f7860e4951.tar.gz
raylib-1841a6bd3b9600484b368b546eef34f7860e4951.zip
CMake: allow spaces in CMAKE_INSTALL_PREFIX
We use @CMAKE_INSTALL_PREFIX@ in the pkg-config template, but the way we use it breaks when used with a path containing a space. Use quote to fix this. This now means, we probably can't have quotes, but that's of lesser concern.
Diffstat (limited to 'raylib.pc.in')
-rw-r--r--raylib.pc.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/raylib.pc.in b/raylib.pc.in
index fe3a3df5..5c2a2ec2 100644
--- a/raylib.pc.in
+++ b/raylib.pc.in
@@ -7,7 +7,7 @@ Name: raylib
Description: Simple and easy-to-use library to enjoy videogames programming
URL: http://github.com/raysan5/raylib
Version: @PROJECT_VERSION@
-Libs: -L${libdir} -lraylib @PKG_CONFIG_LIBS_EXTRA@
+Libs: -L"${libdir}" -lraylib @PKG_CONFIG_LIBS_EXTRA@
Libs.private: @PKG_CONFIG_LIBS_PRIVATE@
Requires.private: @GLFW_PKG_DEPS@
-Cflags: -I${includedir}
+Cflags: -I"${includedir}"