diff --git a/cmake/FindPulse.cmake b/cmake/FindPulse.cmake index acfc2c161..a53f71fdb 100644 --- a/cmake/FindPulse.cmake +++ b/cmake/FindPulse.cmake @@ -11,6 +11,8 @@ find_library(PULSE_LIBRARY pulse PATHS ${PULSE_LIBRARY_DIRS}) FIND_PACKAGE_HANDLE_STANDARD_ARGS(Pulse DEFAULT_MSG PULSE_INCLUDE_DIR PULSE_LIBRARY) if(PULSE_LIBRARY) + set(PULSE_FOUND 1) + file(STRINGS "${PULSE_INCLUDE_DIR}/pulse/version.h" STR1 REGEX "PA_MAJOR") file(STRINGS "${PULSE_INCLUDE_DIR}/pulse/version.h" STR2 REGEX "PA_MINOR") file(STRINGS "${PULSE_INCLUDE_DIR}/pulse/version.h" STR3 REGEX "PA_MICRO")