Use opus built with cmake on Windows
This commit is contained in:
parent
dbc1e4fb35
commit
ed9b0e82d6
1 changed files with 1 additions and 6 deletions
7
external/opus/CMakeLists.txt
vendored
7
external/opus/CMakeLists.txt
vendored
|
|
@ -21,12 +21,7 @@ else()
|
||||||
INTERFACE
|
INTERFACE
|
||||||
${libs_loc}/opus/include
|
${libs_loc}/opus/include
|
||||||
)
|
)
|
||||||
if (build_win64)
|
set(opus_lib_loc ${libs_loc}/opus/out)
|
||||||
set(opus_config_folder x64)
|
|
||||||
else()
|
|
||||||
set(opus_config_folder Win32)
|
|
||||||
endif()
|
|
||||||
set(opus_lib_loc ${libs_loc}/opus/win32/VS2015/${opus_config_folder})
|
|
||||||
set_target_properties(external_opus PROPERTIES
|
set_target_properties(external_opus PROPERTIES
|
||||||
IMPORTED_LOCATION "${opus_lib_loc}/Release/opus.lib"
|
IMPORTED_LOCATION "${opus_lib_loc}/Release/opus.lib"
|
||||||
IMPORTED_LOCATION_DEBUG "${opus_lib_loc}/Debug/opus.lib"
|
IMPORTED_LOCATION_DEBUG "${opus_lib_loc}/Debug/opus.lib"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue