From 5096ed5e0ab91254a29a58234d1df71b4065745f Mon Sep 17 00:00:00 2001 From: Markus Wick Date: Thu, 8 Apr 2021 23:49:32 +0200 Subject: externals: Search for shared opus installation. We had used conan for opus before, but there was a bug in the AVX detection. However we still had the Findopus.cmake file within the repository, but not used. This patch reenables the Findopus helper and prefer the system wide installation of opus. --- externals/find-modules/Findopus.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'externals/find-modules') diff --git a/externals/find-modules/Findopus.cmake b/externals/find-modules/Findopus.cmake index de84bd995..2bce56122 100644 --- a/externals/find-modules/Findopus.cmake +++ b/externals/find-modules/Findopus.cmake @@ -28,7 +28,7 @@ if(opus_FOUND) endif() if(opus_FOUND AND NOT TARGET Opus::Opus) - add_library(Opus::Opus UNKNOWN IMPORTED) + add_library(Opus::Opus UNKNOWN IMPORTED GLOBAL) set_target_properties(Opus::Opus PROPERTIES IMPORTED_LOCATION "${opus_LIBRARY}" INTERFACE_COMPILE_OPTIONS "${PC_opus_CFLAGS_OTHER}" -- cgit v1.2.3