projects
/
volk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69d99d7
)
cmake: support empty CMAKE_INSTALL_PREFIX
author
Josh Blum
<josh@joshknows.com>
Wed, 5 Oct 2016 21:09:05 +0000
(14:09 -0700)
committer
A. Maitland Bottoms
<bottoms@debian.org>
Sun, 4 Feb 2018 18:12:21 +0000
(18:12 +0000)
Needed quotes for the string escape command
Gbp-Pq: Name 0012-cmake-support-empty-CMAKE_INSTALL_PREFIX.patch
lib/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/lib/CMakeLists.txt
b/lib/CMakeLists.txt
index ad5653ceb028996a3447d3f61d70323a8cc28699..45b6c5192cf0d736bb66cbc0e9c1ed84f6d79b62 100644
(file)
--- a/
lib/CMakeLists.txt
+++ b/
lib/CMakeLists.txt
@@
-489,7
+489,7
@@
endif()
message(STATUS "Loading version ${VERSION} into constants...")
#double escape for windows backslash path separators
-string(REPLACE "\\" "\\\\" prefix
${prefix}
)
+string(REPLACE "\\" "\\\\" prefix
"${prefix}"
)
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/constants.c.in