Skip to content

Commit

Permalink
Opus headers are in opus subfolder
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-fedin authored and john-preston committed Oct 23, 2020
1 parent 18bf821 commit b485d43
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions external/opus/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,24 @@ else()
elseif (APPLE AND NOT build_osx)
target_include_directories(external_opus
INTERFACE
/usr/local/macos/include
/usr/local/macos/include/opus
)
set_target_properties(external_opus PROPERTIES
IMPORTED_LOCATION /usr/local/macos/lib/libopus.a
)
elseif (APPLE)
target_include_directories(external_opus
INTERFACE
/usr/local/include
/usr/local/include/opus
)
set_target_properties(external_opus PROPERTIES
IMPORTED_LOCATION /usr/local/lib/libopus.a
)
else()
target_include_directories(external_opus
INTERFACE
/usr/local/include/opus
)
find_library(OPUS_LIBRARY libopus.a)
set_target_properties(external_opus PROPERTIES
IMPORTED_LOCATION "${OPUS_LIBRARY}"
Expand Down

0 comments on commit b485d43

Please sign in to comment.