aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/lib/i2c/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'mpm/lib/i2c/CMakeLists.txt')
-rw-r--r--mpm/lib/i2c/CMakeLists.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/mpm/lib/i2c/CMakeLists.txt b/mpm/lib/i2c/CMakeLists.txt
new file mode 100644
index 000000000..a6af95ff8
--- /dev/null
+++ b/mpm/lib/i2c/CMakeLists.txt
@@ -0,0 +1,12 @@
+#
+# Copyright 2018 Ettus Research, a National Instruments Company
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
+#
+SET(I2C_SOURCES
+ ${CMAKE_CURRENT_SOURCE_DIR}/i2cdev_iface.cpp
+ ${CMAKE_CURRENT_SOURCE_DIR}/i2c_regs_iface.cpp
+ ${CMAKE_CURRENT_SOURCE_DIR}/i2cdev.c
+)
+
+USRP_PERIPHS_ADD_OBJECT(i2c ${I2C_SOURCES})