|
|
|
@ -273,8 +273,8 @@ target_link_libraries(your-app PRIVATE Magnum::Audio) |
|
|
|
Additionally, if you're using Magnum as a CMake subproject, do the following |
|
|
|
Additionally, if you're using Magnum as a CMake subproject, do the following |
|
|
|
* *before* calling @cmake find_package() @ce to ensure it's enabled, as the |
|
|
|
* *before* calling @cmake find_package() @ce to ensure it's enabled, as the |
|
|
|
library is not built by default. Using OpenAL itself as a CMake subproject |
|
|
|
library is not built by default. Using OpenAL itself as a CMake subproject |
|
|
|
isn't isn't tested at the moment, so you need to provide it as a system |
|
|
|
isn't tested at the moment, so you need to provide it as a system dependency |
|
|
|
dependency and point `CMAKE_PREFIX_PATH` to its installation dir if necessary. |
|
|
|
and point `CMAKE_PREFIX_PATH` to its installation dir if necessary. |
|
|
|
|
|
|
|
|
|
|
|
@code{.cmake} |
|
|
|
@code{.cmake} |
|
|
|
set(WITH_AUDIO ON CACHE BOOL "" FORCE) |
|
|
|
set(WITH_AUDIO ON CACHE BOOL "" FORCE) |
|
|
|
|