Skip to content
This repository has been archived by the owner on Jan 25, 2021. It is now read-only.

Commit

Permalink
Fix pulseaudio version parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
EHfive committed Jul 11, 2019
1 parent 2fde9b7 commit 99aa1fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ link_directories(${FDKAAC_LIBRARY_DIRS})
link_directories(${LDACENC_LIBRARY_DIRS} ${LDACABR_LIBRARY_DIRS})


string(REGEX MATCH "[0-9]+(\\.[0-9]+)*" PulseAudio_lib_version ${PulseAudio_VERSION})
string(REGEX MATCH "[0-9]+(\\.[0-9]+)" PulseAudio_lib_version ${PulseAudio_VERSION})
if("" STREQUAL "${PulseAudio_lib_version}")
message(SEND_ERROR "Can't match libpulse version")
set(PulseAudio_lib_version ${PulseAudio_VERSION})
Expand Down

1 comment on commit 99aa1fe

@parkerlreed
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! This helped when using the pulseaudio in testing (12.99)

Please sign in to comment.