We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c984c27 commit 2fba53eCopy full SHA for 2fba53e
CMakeLists.txt
@@ -566,7 +566,7 @@ install (TARGETS "${PROJECT_NAME}")
566
# Would rather string replace variables here instead of editing .pc.in, because editing .pc.in
567
# might build break autotools build.
568
file(READ "${PROJECT_SRC}/openlibm.pc.in" PC_FILE)
569
-string(REPLACE "\${version}" ${CMAKE_PROJECT_VERSION} PC_FILE ${PC_FILE})
+string(REPLACE "\${version}" "${CMAKE_PROJECT_VERSION}" PC_FILE ${PC_FILE})
570
string(PREPEND PC_FILE "prefix=${CMAKE_INSTALL_PREFIX}
571
includedir=\${prefix}/${CMAKE_INSTALL_INCLUDEDIR}
572
libdir=\${prefix}/${CMAKE_INSTALL_LIBDIR}\n
0 commit comments