From 1841a6bd3b9600484b368b546eef34f7860e4951 Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Sat, 8 Aug 2020 00:44:40 +0200 Subject: [PATCH] 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. --- raylib.pc.in | 4 ++-- 1 file 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}"