aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/lib/mykonos
diff options
context:
space:
mode:
Diffstat (limited to 'mpm/lib/mykonos')
-rw-r--r--mpm/lib/mykonos/CMakeLists.txt16
-rw-r--r--mpm/lib/mykonos/adi/CMakeLists.txt2
2 files changed, 9 insertions, 9 deletions
diff --git a/mpm/lib/mykonos/CMakeLists.txt b/mpm/lib/mykonos/CMakeLists.txt
index db6fbf517..166c039af 100644
--- a/mpm/lib/mykonos/CMakeLists.txt
+++ b/mpm/lib/mykonos/CMakeLists.txt
@@ -8,13 +8,13 @@
# This file included, use CMake directory variables
########################################################################
-MACRO(MYKONOS_APPEND_SOURCES)
- SET(mykonos_sources ${mykonos_sources})
- LIST(APPEND mykonos_sources ${ARGV})
- SET(mykonos_sources ${mykonos_sources} PARENT_SCOPE)
-ENDMACRO(MYKONOS_APPEND_SOURCES)
+macro(MYKONOS_APPEND_SOURCES)
+ set(mykonos_sources ${mykonos_sources})
+ list(APPEND mykonos_sources ${ARGV})
+ set(mykonos_sources ${mykonos_sources} PARENT_SCOPE)
+endmacro(MYKONOS_APPEND_SOURCES)
-SET(mykonos_sources
+set(mykonos_sources
${CMAKE_CURRENT_SOURCE_DIR}/ad937x_ctrl.cpp
${CMAKE_CURRENT_SOURCE_DIR}/ad937x_device.cpp
${CMAKE_CURRENT_SOURCE_DIR}/ad937x_spi_iface.cpp
@@ -22,7 +22,7 @@ SET(mykonos_sources
${UHD_HOST_ROOT}/lib/types/ranges.cpp
)
-ADD_SUBDIRECTORY(adi)
-ADD_SUBDIRECTORY(config)
+add_subdirectory(adi)
+add_subdirectory(config)
USRP_PERIPHS_ADD_OBJECT(mykonos ${mykonos_sources})
diff --git a/mpm/lib/mykonos/adi/CMakeLists.txt b/mpm/lib/mykonos/adi/CMakeLists.txt
index 4bab71e05..dfdffd898 100644
--- a/mpm/lib/mykonos/adi/CMakeLists.txt
+++ b/mpm/lib/mykonos/adi/CMakeLists.txt
@@ -9,4 +9,4 @@ MYKONOS_APPEND_SOURCES(
${CMAKE_CURRENT_SOURCE_DIR}/mykonos_user.c
)
-ADD_SUBDIRECTORY(mykonos_debug)
+add_subdirectory(mykonos_debug)