From ed9b0e82d6345801b957b0389a28cd1482b08f6f Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Fri, 24 Sep 2021 22:46:15 +0400 Subject: [PATCH] Use opus built with cmake on Windows --- external/opus/CMakeLists.txt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/external/opus/CMakeLists.txt b/external/opus/CMakeLists.txt index 5fd2606..763f4fc 100644 --- a/external/opus/CMakeLists.txt +++ b/external/opus/CMakeLists.txt @@ -21,12 +21,7 @@ else() INTERFACE ${libs_loc}/opus/include ) - if (build_win64) - 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(opus_lib_loc ${libs_loc}/opus/out) set_target_properties(external_opus PROPERTIES IMPORTED_LOCATION "${opus_lib_loc}/Release/opus.lib" IMPORTED_LOCATION_DEBUG "${opus_lib_loc}/Debug/opus.lib"