diff options
author | Moritz Fischer <moritz.fischer@ettus.com> | 2015-09-23 15:16:10 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2015-09-24 13:32:34 -0700 |
commit | fee054dfaf9cf4dc389c8b35ee28c45c2dc63952 (patch) | |
tree | 936ddea938609b9891e2b0df4cde47c51934e771 /host | |
parent | 4b8a5333ed1844ba627d6993db39bdcadeb3c835 (diff) | |
download | uhd-fee054dfaf9cf4dc389c8b35ee28c45c2dc63952.tar.gz uhd-fee054dfaf9cf4dc389c8b35ee28c45c2dc63952.tar.bz2 uhd-fee054dfaf9cf4dc389c8b35ee28c45c2dc63952.zip |
uhd: C API wrapper, fix commit 30f87afcba71a07
The uhd/usrp_clock/usrp_clock.h doesn't get properly installed,
which isn't a big deal if examples are built in tree, but if
someone attempts to build a C application against libuhd,
uhd.h pulls in <uhd/usrp/usrp_clock.h> and fails as follows:
fatal error: uhd/usrp_clock/usrp_clock.h: No such file or directory
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Diffstat (limited to 'host')
-rw-r--r-- | host/include/uhd/usrp_clock/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/host/include/uhd/usrp_clock/CMakeLists.txt b/host/include/uhd/usrp_clock/CMakeLists.txt index 518cb7737..c8c0e43fc 100644 --- a/host/include/uhd/usrp_clock/CMakeLists.txt +++ b/host/include/uhd/usrp_clock/CMakeLists.txt @@ -24,6 +24,8 @@ UHD_INSTALL(FILES IF(ENABLE_C_API) UHD_INSTALL(FILES - usrp_clock.h + usrp_clock.h + DESTINATION ${INCLUDE_DIR}/uhd/usrp_clock + COMPONENT headers ) ENDIF(ENABLE_C_API) |