diff --git a/cmake/Modules/FindVolk.cmake b/cmake/Modules/FindVolk.cmake index 58da7edd9..a8e82a467 100644 --- a/cmake/Modules/FindVolk.cmake +++ b/cmake/Modules/FindVolk.cmake @@ -27,6 +27,8 @@ FIND_LIBRARY( ${GNURADIO_INSTALL_PREFIX}/lib ) +set(VOLK_VERSION ${PC_VOLK_VERSION}) + INCLUDE(FindPackageHandleStandardArgs) FIND_PACKAGE_HANDLE_STANDARD_ARGS(VOLK DEFAULT_MSG VOLK_LIBRARIES VOLK_INCLUDE_DIRS) -MARK_AS_ADVANCED(VOLK_LIBRARIES VOLK_INCLUDE_DIRS) +MARK_AS_ADVANCED(VOLK_LIBRARIES VOLK_INCLUDE_DIRS VOLK_VERSION)