aboutsummaryrefslogtreecommitdiffstats
path: root/host/cmake
diff options
context:
space:
mode:
authorMichael Dickens <michael.dickens@ettus.com>2019-07-24 10:51:12 -0400
committerBrent Stapleton <brent.stapleton@ettus.com>2019-07-24 11:20:31 -0700
commit3c8ed1b5baa5fcd093dc9e34550d485a2d3d2bd0 (patch)
tree8c96eda4416669215a8d4091351dcfdc93735169 /host/cmake
parent50b5942366a0d131c5680dc7641ba6f4c57240c8 (diff)
downloaduhd-3c8ed1b5baa5fcd093dc9e34550d485a2d3d2bd0.tar.gz
uhd-3c8ed1b5baa5fcd093dc9e34550d485a2d3d2bd0.tar.bz2
uhd-3c8ed1b5baa5fcd093dc9e34550d485a2d3d2bd0.zip
cmake: quote the @UHD_VERSION@ replacement to allow any string
Diffstat (limited to 'host/cmake')
-rw-r--r--host/cmake/Modules/UHDConfigVersion.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/cmake/Modules/UHDConfigVersion.cmake.in b/host/cmake/Modules/UHDConfigVersion.cmake.in
index 5e3e9558e..d53492981 100644
--- a/host/cmake/Modules/UHDConfigVersion.cmake.in
+++ b/host/cmake/Modules/UHDConfigVersion.cmake.in
@@ -25,7 +25,7 @@ set(ABI_VERSION @UHD_VERSION_ABI@)
set(PATCH_VERSION @UHD_VERSION_PATCH@)
set(DEVEL_VERSION @UHD_VERSION_DEVEL@)
-set(PACKAGE_VERSION @UHD_VERSION@)
+set(PACKAGE_VERSION "@UHD_VERSION@")
set(ENV{UHD_PACKAGE_VERSION} ${PACKAGE_VERSION})
# There is a bug in CMake whereby calling "find_package(FOO)" within