Skip to content

Commit 0028b20

Browse files
AMDmi3past-due
authored andcommitted
Fix find_path syntax
1 parent e1b12b1 commit 0028b20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/FindOpusfile.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010

1111
include (CheckLibraryExists)
1212

13-
find_path(OPUSFILE_INCLUDE_DIR opusfile.h PATH_SUFFIX opus)
13+
find_path(OPUSFILE_INCLUDE_DIR opusfile.h PATH_SUFFIXES opus)
1414

1515
# opusfile.h includes "opus_multistream.h" instead of "opus/opus_multistream.h"
1616
# so we must include the path to opus_multistream.h
17-
find_path(OPUS_MULTISTREAM_DIR opus_multistream.h PATH_SUFFIX opus)
17+
find_path(OPUS_MULTISTREAM_DIR opus_multistream.h PATH_SUFFIXES opus)
1818

1919
find_library(OPUSFILE_LIBRARY NAMES opusfile)
2020
if (NOT TARGET Ogg::ogg)

0 commit comments

Comments
 (0)