Skip to content

Commit

Permalink
cmake: Fix lame version check when using -Werror=format-security.
Browse files Browse the repository at this point in the history
Refs: #981
  • Loading branch information
linuxdude42 committed Dec 23, 2024
1 parent 6012678 commit 683d1a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindLame.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ file(
#include <lame/lame.h>
int main (int argc, char **argv)
{
printf(get_lame_short_version());
printf(\"%s\", get_lame_short_version());
}
")
if(NOT CMAKE_CROSSCOMPILING)
Expand Down

0 comments on commit 683d1a4

Please sign in to comment.