Explorar el Código

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

Miku AuahDark hace 3 años
padre
commit
54b9fa80a7
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      libs/openal-soft/CMakeLists.txt

+ 4 - 1
libs/openal-soft/CMakeLists.txt

@@ -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()