Blame channels/urbdrc/CMakeLists.txt

Packit Service fa4841
# FreeRDP: A Remote Desktop Protocol Implementation
Packit Service fa4841
# FreeRDP cmake build script
Packit Service fa4841
#
Packit Service fa4841
# Copyright 2012 Marc-Andre Moreau <marcandre.moreau@gmail.com>
Packit Service fa4841
#
Packit Service fa4841
# Licensed under the Apache License, Version 2.0 (the "License");
Packit Service fa4841
# you may not use this file except in compliance with the License.
Packit Service fa4841
# You may obtain a copy of the License at
Packit Service fa4841
#
Packit Service fa4841
#     http://www.apache.org/licenses/LICENSE-2.0
Packit Service fa4841
#
Packit Service fa4841
# Unless required by applicable law or agreed to in writing, software
Packit Service fa4841
# distributed under the License is distributed on an "AS IS" BASIS,
Packit Service fa4841
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Packit Service fa4841
# See the License for the specific language governing permissions and
Packit Service fa4841
# limitations under the License.
Packit Service fa4841
Packit Service fa4841
define_channel("urbdrc")
Packit Service fa4841
Packit Service b1ea74
include_directories(common)
Packit Service b1ea74
add_subdirectory(common)
Packit Service fa4841
Packit Service b1ea74
if(WITH_CLIENT_CHANNELS)
Packit Service b1ea74
    option(WITH_DEBUG_URBDRC "Dump data send/received in URBDRC channel" OFF)
Packit Service fa4841
Packit Service b1ea74
    find_package(libusb-1.0 REQUIRED)
Packit Service b1ea74
    include_directories(${LIBUSB_1_INCLUDE_DIRS})
Packit Service fa4841
Packit Service b1ea74
    add_channel_client(${MODULE_PREFIX} ${CHANNEL_NAME})
Packit Service fa4841
endif()