Search Oboe in config mode according to kcat/openal-soft@f3092e286e

This commit is contained in:
Miku AuahDark
2022-06-03 08:41:19 +08:00
parent 25beb07460
commit 54b9fa80a7
+4 -1
View File
@@ -1128,7 +1128,10 @@ if(ANDROID)
set(OBOE_TARGET oboe)
else()
find_package(Oboe CONFIG)
find_package(oboe CONFIG)
if(NOT TARGET oboe::oboe)
find_package(Oboe)
endif()
if(TARGET oboe::oboe)
set(OBOE_TARGET "oboe::oboe")
endif()