2012-10-08 23:02:04 -04:00
|
|
|
# FreeRDP: A Remote Desktop Protocol Implementation
|
2011-09-20 14:27:10 +08:00
|
|
|
# FreeRDP cmake build script
|
|
|
|
|
#
|
2012-10-17 02:14:19 -04:00
|
|
|
# Copyright 2012 Marc-Andre Moreau <marcandre.moreau@gmail.com>
|
2011-09-20 14:27:10 +08:00
|
|
|
#
|
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
|
#
|
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
#
|
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
|
# limitations under the License.
|
|
|
|
|
|
2012-10-17 02:14:19 -04:00
|
|
|
define_channel_client_subsystem("tsmf" "pulse" "audio")
|
|
|
|
|
|
2023-10-10 19:45:49 +02:00
|
|
|
find_package(PulseAudio REQUIRED)
|
2025-09-11 07:17:52 +02:00
|
|
|
freerdp_client_pc_add_requires_private("libpulse")
|
2023-10-10 19:45:49 +02:00
|
|
|
|
2024-11-27 20:31:31 +01:00
|
|
|
set(${MODULE_PREFIX}_SRCS tsmf_pulse.c)
|
2023-02-20 11:18:43 +01:00
|
|
|
|
2024-11-27 20:31:31 +01:00
|
|
|
set(${MODULE_PREFIX}_LIBS winpr ${PULSEAUDIO_LIBRARY} ${PULSEAUDIO_MAINLOOP_LIBRARY})
|
2011-09-20 14:27:10 +08:00
|
|
|
|
|
|
|
|
include_directories(..)
|
2024-08-26 11:01:54 +02:00
|
|
|
include_directories(SYSTEM ${PULSEAUDIO_INCLUDE_DIR})
|
2012-10-17 02:14:19 -04:00
|
|
|
|
2012-11-19 22:31:15 -05:00
|
|
|
add_channel_client_subsystem_library(${MODULE_PREFIX} ${MODULE_NAME} ${CHANNEL_NAME} "" TRUE "")
|