1
0
Fork 0

Use opus built with cmake on Windows

This commit is contained in:
Ilya Fedin 2021-09-24 22:46:15 +04:00 committed by John Preston
parent dbc1e4fb35
commit ed9b0e82d6

View file

@ -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"