Use openal-soft's cmake config rather than pkg-config file
This commit is contained in:
parent
d0fc0c8879
commit
3d40b243f6
1 changed files with 2 additions and 3 deletions
5
external/openal/CMakeLists.txt
vendored
5
external/openal/CMakeLists.txt
vendored
|
|
@ -15,9 +15,8 @@ if (DESKTOP_APP_USE_PACKAGED)
|
|||
return()
|
||||
endif()
|
||||
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(OPENAL REQUIRED IMPORTED_TARGET openal)
|
||||
target_link_libraries(external_openal INTERFACE PkgConfig::OPENAL)
|
||||
find_package(OpenAL REQUIRED CONFIG)
|
||||
target_link_libraries(external_openal INTERFACE OpenAL::OpenAL)
|
||||
return()
|
||||
elseif (WIN32)
|
||||
target_include_directories(external_openal SYSTEM
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue