Fix build with external_opus on Windows.
This commit is contained in:
parent
36dc69e460
commit
408083f52e
1 changed files with 3 additions and 2 deletions
5
external/opus/CMakeLists.txt
vendored
5
external/opus/CMakeLists.txt
vendored
|
|
@ -22,10 +22,11 @@ else()
|
|||
)
|
||||
|
||||
if (WIN32)
|
||||
set(opus_lib_loc ${libs_loc}/opus/win32/VS2015/Win32/$<IF:$<CONFIG:Debug>,Debug,Release>)
|
||||
set(opus_lib_loc ${libs_loc}/opus/win32/VS2015/Win32)
|
||||
|
||||
set_target_properties(external_opus PROPERTIES
|
||||
IMPORTED_LOCATION "${opus_lib_loc}/opus.lib"
|
||||
IMPORTED_LOCATION "${opus_lib_loc}/Release/opus.lib"
|
||||
IMPORTED_LOCATION_DEBUG "${opus_lib_loc}/Debug/opus.lib"
|
||||
)
|
||||
elseif (APPLE AND NOT build_osx)
|
||||
target_include_directories(external_opus
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue