Opus headers are in opus subfolder
This commit is contained in:
parent
18bf821e50
commit
b485d43a45
1 changed files with 6 additions and 2 deletions
8
external/opus/CMakeLists.txt
vendored
8
external/opus/CMakeLists.txt
vendored
|
|
@ -29,7 +29,7 @@ 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
|
||||
|
|
@ -37,12 +37,16 @@ else()
|
|||
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}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue