Skip to content

Commit

Permalink
propagate HAVE_ALSA flag
Browse files Browse the repository at this point in the history
  • Loading branch information
mpromonet committed May 6, 2024
1 parent ce80891 commit acae85b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ if (ALSA)
find_package(ALSA QUIET)
MESSAGE("ALSA_FOUND = ${ALSA_FOUND}")
if (ALSA_LIBRARY)
add_definitions(-DHAVE_ALSA)
target_compile_definitions(libv4l2rtspserver PUBLIC HAVE_ALSA)
set(LIBRARIES ${LIBRARIES} ${ALSA_LIBRARY})

SET(CPACK_DEBIAN_PACKAGE_DEPENDS ${CPACK_DEBIAN_PACKAGE_DEPENDS}libasound2,)
Expand Down

0 comments on commit acae85b

Please sign in to comment.