mirror of https://github.com/libsdl-org/SDL
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
342 B
CMake
10 lines
342 B
CMake
|
|
macro(sdlFindALSA)
|
|
find_package(ALSA MODULE)
|
|
if(ALSA_FOUND AND (NOT TARGET ALSA::ALSA) )
|
|
add_Library(ALSA::ALSA UNKNOWN IMPORTED)
|
|
set_property(TARGET ALSA::ALSA PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${ALSA_INCLUDE_DIRS})
|
|
set_property(TARGET ALSA::ALSA APPEND PROPERTY IMPORTED_LOCATION ${ALSA_LIBRARY})
|
|
endif()
|
|
endmacro()
|