Skip to content

Commit

Permalink
uhd: add missing patchfile
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelld committed Jul 31, 2019
1 parent 3e52a1c commit 2bd4e7a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions science/uhd/files/patch-fix-UHD_VERSION_quotes.diff
@@ -0,0 +1,13 @@
diff --git a/host/cmake/Modules/UHDConfigVersion.cmake.in b/host/cmake/Modules/UHDConfigVersion.cmake.in
index 5e3e955..d534929 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

0 comments on commit 2bd4e7a

Please sign in to comment.