aboutsummaryrefslogtreecommitdiffstats
path: root/host/include/CMakeLists.txt
blob: 02997c0d2d0353085815f09d0cb41d449944e89f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
# Copyright 2010,2015 Ettus Research LLC
#
# SPDX-License-Identifier: GPL-3.0
#

CONFIGURE_FILE(
    ${CMAKE_CURRENT_SOURCE_DIR}/config.h.in
    ${CMAKE_CURRENT_BINARY_DIR}/config.h
)

IF(ENABLE_C_API)
    UHD_INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/uhd.h
        DESTINATION ${INCLUDE_DIR}
        COMPONENT headers
    )
ENDIF(ENABLE_C_API)

ADD_SUBDIRECTORY(uhd)