mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-29 19:54:05 +02:00
Fix build errors with MA_NO_RUNTIME_LINKING.
This commit is contained in:
@@ -706,6 +706,7 @@ if(NOT MINIAUDIO_NO_DEVICEIO)
|
|||||||
target_include_directories(miniaudio_backend_template PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/extras/backends/template)
|
target_include_directories(miniaudio_backend_template PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/extras/backends/template)
|
||||||
target_compile_options (miniaudio_backend_template PRIVATE ${COMPILE_OPTIONS})
|
target_compile_options (miniaudio_backend_template PRIVATE ${COMPILE_OPTIONS})
|
||||||
target_compile_definitions(miniaudio_backend_template PRIVATE ${COMPILE_DEFINES})
|
target_compile_definitions(miniaudio_backend_template PRIVATE ${COMPILE_DEFINES})
|
||||||
|
target_compile_definitions(miniaudio_backend_template PRIVATE MA_ENABLE_ONLY_SPECIFIC_BACKENDS) # This just disables all backends so that the build works with MA_NO_RUNTIME_LINKING enabled.
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user