aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2018-11-13 21:53:22 -0800
committerBrent Stapleton <bstapleton@g.hmc.edu>2018-11-14 14:10:09 -0800
commita69ab0c23a0c38e3fed3e412df36538d8959d23c (patch)
treee6669a138dad84f79c46588f43a38c69dda90246 /host/lib/usrp
parent4247f025020d7dd1f696dfbd3cce248957d6ace7 (diff)
downloaduhd-a69ab0c23a0c38e3fed3e412df36538d8959d23c.tar.gz
uhd-a69ab0c23a0c38e3fed3e412df36538d8959d23c.tar.bz2
uhd-a69ab0c23a0c38e3fed3e412df36538d8959d23c.zip
cmake: Update coding style to use lowercase commands
Also updates our coding style file. Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code (with GNU compliant sed): cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done > convert.sed \ && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' \ '*CMakeLists.txt' | xargs -0 gsed -i -f convert.sed && rm convert.sed (Make sure the backslashes don't get mangled!)
Diffstat (limited to 'host/lib/usrp')
-rw-r--r--host/lib/usrp/CMakeLists.txt10
-rw-r--r--host/lib/usrp/b100/CMakeLists.txt4
-rw-r--r--host/lib/usrp/b200/CMakeLists.txt4
-rw-r--r--host/lib/usrp/common/CMakeLists.txt12
-rw-r--r--host/lib/usrp/cores/CMakeLists.txt4
-rw-r--r--host/lib/usrp/dboard/CMakeLists.txt24
-rw-r--r--host/lib/usrp/dboard/eiscat/CMakeLists.txt2
-rw-r--r--host/lib/usrp/dboard/magnesium/CMakeLists.txt2
-rw-r--r--host/lib/usrp/dboard/neon/CMakeLists.txt6
-rw-r--r--host/lib/usrp/dboard/rhodium/CMakeLists.txt6
-rw-r--r--host/lib/usrp/e300/CMakeLists.txt20
-rw-r--r--host/lib/usrp/mpmd/CMakeLists.txt16
-rw-r--r--host/lib/usrp/n230/CMakeLists.txt4
-rw-r--r--host/lib/usrp/usrp1/CMakeLists.txt4
-rw-r--r--host/lib/usrp/usrp2/CMakeLists.txt4
-rw-r--r--host/lib/usrp/x300/CMakeLists.txt4
16 files changed, 63 insertions, 63 deletions
diff --git a/host/lib/usrp/CMakeLists.txt b/host/lib/usrp/CMakeLists.txt
index 9a1818599..9998c1a4a 100644
--- a/host/lib/usrp/CMakeLists.txt
+++ b/host/lib/usrp/CMakeLists.txt
@@ -8,7 +8,7 @@
########################################################################
# This file included, use CMake directory variables
########################################################################
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
+include_directories(${CMAKE_CURRENT_SOURCE_DIR})
LIBUHD_APPEND_SOURCES(
${CMAKE_CURRENT_SOURCE_DIR}/dboard_base.cpp
@@ -22,21 +22,21 @@ LIBUHD_APPEND_SOURCES(
${CMAKE_CURRENT_SOURCE_DIR}/fe_connection.cpp
)
-IF(ENABLE_C_API)
+if(ENABLE_C_API)
LIBUHD_APPEND_SOURCES(
${CMAKE_CURRENT_SOURCE_DIR}/dboard_eeprom_c.cpp
${CMAKE_CURRENT_SOURCE_DIR}/mboard_eeprom_c.cpp
${CMAKE_CURRENT_SOURCE_DIR}/subdev_spec_c.cpp
${CMAKE_CURRENT_SOURCE_DIR}/usrp_c.cpp
)
-ENDIF(ENABLE_C_API)
+endif(ENABLE_C_API)
-IF(ENABLE_GPSD)
+if(ENABLE_GPSD)
LIBUHD_APPEND_SOURCES(
${CMAKE_CURRENT_SOURCE_DIR}/gpsd_iface.cpp
)
LIBUHD_APPEND_LIBS(${LIBGPS_LIBRARY})
-ENDIF(ENABLE_GPSD)
+endif(ENABLE_GPSD)
INCLUDE_SUBDIRECTORY(cores)
INCLUDE_SUBDIRECTORY(dboard)
diff --git a/host/lib/usrp/b100/CMakeLists.txt b/host/lib/usrp/b100/CMakeLists.txt
index 8548b961b..6f6050c34 100644
--- a/host/lib/usrp/b100/CMakeLists.txt
+++ b/host/lib/usrp/b100/CMakeLists.txt
@@ -12,7 +12,7 @@
########################################################################
# Conditionally configure the B100 support
########################################################################
-IF(ENABLE_B100)
+if(ENABLE_B100)
LIBUHD_APPEND_SOURCES(
${CMAKE_CURRENT_SOURCE_DIR}/b100_impl.cpp
${CMAKE_CURRENT_SOURCE_DIR}/clock_ctrl.cpp
@@ -23,4 +23,4 @@ IF(ENABLE_B100)
${CMAKE_CURRENT_SOURCE_DIR}/usb_zero_copy_wrapper.cpp
${CMAKE_CURRENT_SOURCE_DIR}/fifo_ctrl_excelsior.cpp
)
-ENDIF(ENABLE_B100)
+endif(ENABLE_B100)
diff --git a/host/lib/usrp/b200/CMakeLists.txt b/host/lib/usrp/b200/CMakeLists.txt
index 2f3ea2483..78dfe884d 100644
--- a/host/lib/usrp/b200/CMakeLists.txt
+++ b/host/lib/usrp/b200/CMakeLists.txt
@@ -12,7 +12,7 @@
########################################################################
# Conditionally configure the B200 support
########################################################################
-IF(ENABLE_B200)
+if(ENABLE_B200)
LIBUHD_APPEND_SOURCES(
${CMAKE_CURRENT_SOURCE_DIR}/b200_image_loader.cpp
${CMAKE_CURRENT_SOURCE_DIR}/b200_impl.cpp
@@ -22,4 +22,4 @@ IF(ENABLE_B200)
${CMAKE_CURRENT_SOURCE_DIR}/b200_cores.cpp
${CMAKE_CURRENT_SOURCE_DIR}/b200_mb_eeprom.cpp
)
-ENDIF(ENABLE_B200)
+endif(ENABLE_B200)
diff --git a/host/lib/usrp/common/CMakeLists.txt b/host/lib/usrp/common/CMakeLists.txt
index 6490fac08..673aa7e78 100644
--- a/host/lib/usrp/common/CMakeLists.txt
+++ b/host/lib/usrp/common/CMakeLists.txt
@@ -8,22 +8,22 @@
########################################################################
# This file included, use CMake directory variables
########################################################################
-IF(ENABLE_USB)
+if(ENABLE_USB)
LIBUHD_APPEND_SOURCES(
${CMAKE_CURRENT_SOURCE_DIR}/fx2_ctrl.cpp
)
-ENDIF(ENABLE_USB)
+endif(ENABLE_USB)
-IF(ENABLE_E300 OR ENABLE_B200 OR ENABLE_N230 OR ENABLE_E320)
- INCLUDE_DIRECTORIES("${CMAKE_CURRENT_SOURCE_DIR}/ad9361_driver")
+if(ENABLE_E300 OR ENABLE_B200 OR ENABLE_N230 OR ENABLE_E320)
+ include_directories("${CMAKE_CURRENT_SOURCE_DIR}/ad9361_driver")
LIBUHD_APPEND_SOURCES(
${CMAKE_CURRENT_SOURCE_DIR}/ad9361_ctrl.cpp
${CMAKE_CURRENT_SOURCE_DIR}/ad936x_manager.cpp
${CMAKE_CURRENT_SOURCE_DIR}/ad9361_driver/ad9361_device.cpp
)
-ENDIF(ENABLE_E300 OR ENABLE_B200 OR ENABLE_N230 OR ENABLE_E320)
+endif(ENABLE_E300 OR ENABLE_B200 OR ENABLE_N230 OR ENABLE_E320)
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
+include_directories(${CMAKE_CURRENT_SOURCE_DIR})
LIBUHD_APPEND_SOURCES(
${CMAKE_CURRENT_SOURCE_DIR}/adf4001_ctrl.cpp
diff --git a/host/lib/usrp/cores/CMakeLists.txt b/host/lib/usrp/cores/CMakeLists.txt
index 95102f29d..6d3d988f0 100644
--- a/host/lib/usrp/cores/CMakeLists.txt
+++ b/host/lib/usrp/cores/CMakeLists.txt
@@ -9,7 +9,7 @@
# This file included, use CMake directory variables
########################################################################
-IF(ENABLE_B100 OR ENABLE_USRP2)
+if(ENABLE_B100 OR ENABLE_USRP2)
LIBUHD_APPEND_SOURCES(
${CMAKE_CURRENT_SOURCE_DIR}/gpio_core_200.cpp
${CMAKE_CURRENT_SOURCE_DIR}/i2c_core_200.cpp
@@ -18,7 +18,7 @@ IF(ENABLE_B100 OR ENABLE_USRP2)
${CMAKE_CURRENT_SOURCE_DIR}/tx_dsp_core_200.cpp
${CMAKE_CURRENT_SOURCE_DIR}/user_settings_core_200.cpp
)
-ENDIF(ENABLE_B100 OR ENABLE_USRP2)
+endif(ENABLE_B100 OR ENABLE_USRP2)
LIBUHD_APPEND_SOURCES(
${CMAKE_CURRENT_SOURCE_DIR}/dma_fifo_core_3000.cpp
diff --git a/host/lib/usrp/dboard/CMakeLists.txt b/host/lib/usrp/dboard/CMakeLists.txt
index 25e1bd2b9..5328fcc90 100644
--- a/host/lib/usrp/dboard/CMakeLists.txt
+++ b/host/lib/usrp/dboard/CMakeLists.txt
@@ -8,7 +8,7 @@
########################################################################
# This file included, use CMake directory variables
########################################################################
-IF(ENABLE_X300 OR ENABLE_USRP1 OR ENABLE_USRP2 OR ENABLE_B100)
+if(ENABLE_X300 OR ENABLE_USRP1 OR ENABLE_USRP2 OR ENABLE_B100)
LIBUHD_APPEND_SOURCES(
${CMAKE_CURRENT_SOURCE_DIR}/db_basic_and_lf.cpp
${CMAKE_CURRENT_SOURCE_DIR}/db_rfx.cpp
@@ -29,31 +29,31 @@ IF(ENABLE_X300 OR ENABLE_USRP1 OR ENABLE_USRP2 OR ENABLE_B100)
${CMAKE_CURRENT_SOURCE_DIR}/db_dbsrx2.cpp
${CMAKE_CURRENT_SOURCE_DIR}/db_tvrx2.cpp
)
-ENDIF(ENABLE_X300 OR ENABLE_USRP1 OR ENABLE_USRP2 OR ENABLE_B100)
+endif(ENABLE_X300 OR ENABLE_USRP1 OR ENABLE_USRP2 OR ENABLE_B100)
-IF(ENABLE_E300)
+if(ENABLE_E300)
LIBUHD_APPEND_SOURCES(
${CMAKE_CURRENT_SOURCE_DIR}/db_e3x0.cpp
)
-ENDIF(ENABLE_E300)
+endif(ENABLE_E300)
-IF(ENABLE_X300)
+if(ENABLE_X300)
LIBUHD_APPEND_SOURCES(
${CMAKE_CURRENT_SOURCE_DIR}/twinrx/twinrx_ctrl.cpp
${CMAKE_CURRENT_SOURCE_DIR}/twinrx/twinrx_experts.cpp
${CMAKE_CURRENT_SOURCE_DIR}/twinrx/twinrx_gain_tables.cpp
${CMAKE_CURRENT_SOURCE_DIR}/db_twinrx.cpp
)
-ENDIF(ENABLE_X300)
+endif(ENABLE_X300)
-IF(ENABLE_N300)
+if(ENABLE_N300)
INCLUDE_SUBDIRECTORY(magnesium)
-ENDIF(ENABLE_N300)
-IF(ENABLE_N320)
+endif(ENABLE_N300)
+if(ENABLE_N320)
INCLUDE_SUBDIRECTORY(rhodium)
-ENDIF(ENABLE_N320)
-IF(ENABLE_MPMD AND ENABLE_EISCAT)
+endif(ENABLE_N320)
+if(ENABLE_MPMD AND ENABLE_EISCAT)
INCLUDE_SUBDIRECTORY(eiscat)
-ENDIF(ENABLE_MPMD AND ENABLE_EISCAT)
+endif(ENABLE_MPMD AND ENABLE_EISCAT)
INCLUDE_SUBDIRECTORY(neon)
diff --git a/host/lib/usrp/dboard/eiscat/CMakeLists.txt b/host/lib/usrp/dboard/eiscat/CMakeLists.txt
index 13da2d6da..650116ec1 100644
--- a/host/lib/usrp/dboard/eiscat/CMakeLists.txt
+++ b/host/lib/usrp/dboard/eiscat/CMakeLists.txt
@@ -7,7 +7,7 @@
# This file is conditionally included if ENABLE_MPMD and ENABLE_EISCAT are
# set to true.
-LIST(APPEND EISCAT_SOURCES
+list(APPEND EISCAT_SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/eiscat_radio_ctrl_impl.cpp
)
LIBUHD_APPEND_SOURCES(${EISCAT_SOURCES})
diff --git a/host/lib/usrp/dboard/magnesium/CMakeLists.txt b/host/lib/usrp/dboard/magnesium/CMakeLists.txt
index 417cd4f54..9f78ce242 100644
--- a/host/lib/usrp/dboard/magnesium/CMakeLists.txt
+++ b/host/lib/usrp/dboard/magnesium/CMakeLists.txt
@@ -7,7 +7,7 @@
# This file is conditionally included if ENABLE_MPMD and ENABLE_N300 are
# set to true.
-LIST(APPEND MAGNESIUM_SOURCES
+list(APPEND MAGNESIUM_SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/magnesium_radio_ctrl_impl.cpp
${CMAKE_CURRENT_SOURCE_DIR}/magnesium_radio_ctrl_init.cpp
${CMAKE_CURRENT_SOURCE_DIR}/magnesium_radio_ctrl_cpld.cpp
diff --git a/host/lib/usrp/dboard/neon/CMakeLists.txt b/host/lib/usrp/dboard/neon/CMakeLists.txt
index e1ee0fba4..a2473bd0a 100644
--- a/host/lib/usrp/dboard/neon/CMakeLists.txt
+++ b/host/lib/usrp/dboard/neon/CMakeLists.txt
@@ -4,12 +4,12 @@
# SPDX-License-Identifier: GPL-3.0-or-later
#
-IF(ENABLE_E320)
- LIST(APPEND NEON_SOURCES
+if(ENABLE_E320)
+ list(APPEND NEON_SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/neon_radio_ctrl_impl.cpp
${CMAKE_CURRENT_SOURCE_DIR}/neon_radio_ctrl_init.cpp
${CMAKE_CURRENT_SOURCE_DIR}/neon_ad9361_iface.cpp
${CMAKE_CURRENT_SOURCE_DIR}/neon_bands.cpp
)
LIBUHD_APPEND_SOURCES(${NEON_SOURCES})
-ENDIF(ENABLE_E320)
+endif(ENABLE_E320)
diff --git a/host/lib/usrp/dboard/rhodium/CMakeLists.txt b/host/lib/usrp/dboard/rhodium/CMakeLists.txt
index 617e4af58..2b2e9744c 100644
--- a/host/lib/usrp/dboard/rhodium/CMakeLists.txt
+++ b/host/lib/usrp/dboard/rhodium/CMakeLists.txt
@@ -4,8 +4,8 @@
# SPDX-License-Identifier: GPL-3.0-or-later
#
-IF(ENABLE_MPMD)
- LIST(APPEND RHODIUM_SOURCES
+if(ENABLE_MPMD)
+ list(APPEND RHODIUM_SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/rhodium_radio_ctrl_impl.cpp
${CMAKE_CURRENT_SOURCE_DIR}/rhodium_radio_ctrl_init.cpp
${CMAKE_CURRENT_SOURCE_DIR}/rhodium_radio_ctrl_cpld.cpp
@@ -14,5 +14,5 @@ IF(ENABLE_MPMD)
${CMAKE_CURRENT_SOURCE_DIR}/rhodium_cpld_ctrl.cpp
)
LIBUHD_APPEND_SOURCES(${RHODIUM_SOURCES})
-ENDIF(ENABLE_MPMD)
+endif(ENABLE_MPMD)
diff --git a/host/lib/usrp/e300/CMakeLists.txt b/host/lib/usrp/e300/CMakeLists.txt
index 9e85a6bb4..2b4e3105d 100644
--- a/host/lib/usrp/e300/CMakeLists.txt
+++ b/host/lib/usrp/e300/CMakeLists.txt
@@ -14,8 +14,8 @@
########################################################################
find_package(UDev)
-IF(ENABLE_E300)
- LIST(APPEND E300_SOURCES
+if(ENABLE_E300)
+ list(APPEND E300_SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/e300_impl.cpp
${CMAKE_CURRENT_SOURCE_DIR}/e300_io_impl.cpp
${CMAKE_CURRENT_SOURCE_DIR}/e300_fifo_config.cpp
@@ -31,21 +31,21 @@ IF(ENABLE_E300)
${CMAKE_CURRENT_SOURCE_DIR}/e3xx_radio_ctrl_impl.cpp
)
LIBUHD_APPEND_SOURCES(${E300_SOURCES})
- IF(UDEV_FOUND AND NOT E300_FORCE_NETWORK)
- INCLUDE_DIRECTORIES(${UDEV_INCLUDE_DIR})
+ if(UDEV_FOUND AND NOT E300_FORCE_NETWORK)
+ include_directories(${UDEV_INCLUDE_DIR})
LIBUHD_APPEND_LIBS(${UDEV_LIBS})
- SET_SOURCE_FILES_PROPERTIES(
+ set_source_files_properties(
${E300_SOURCES}
PROPERTIES COMPILE_DEFINITIONS "E300_NATIVE=1"
)
- ENDIF(UDEV_FOUND AND NOT E300_FORCE_NETWORK)
+ endif(UDEV_FOUND AND NOT E300_FORCE_NETWORK)
- IF(ENABLE_GPSD)
- SET_SOURCE_FILES_PROPERTIES(
+ if(ENABLE_GPSD)
+ set_source_files_properties(
${CMAKE_CURRENT_SOURCE_DIR}/e300_impl.cpp
${CMAKE_CURRENT_SOURCE_DIR}/e300_impl.hpp
${CMAKE_CURRENT_SOURCE_DIR}/e3xx_radio_ctrl_impl.hpp
PROPERTIES COMPILE_DEFINITIONS "E300_GPSD=1"
)
- ENDIF(ENABLE_GPSD)
-ENDIF(ENABLE_E300)
+ endif(ENABLE_GPSD)
+endif(ENABLE_E300)
diff --git a/host/lib/usrp/mpmd/CMakeLists.txt b/host/lib/usrp/mpmd/CMakeLists.txt
index 4447f2dc4..774ad6593 100644
--- a/host/lib/usrp/mpmd/CMakeLists.txt
+++ b/host/lib/usrp/mpmd/CMakeLists.txt
@@ -4,11 +4,11 @@
# SPDX-License-Identifier: GPL-3.0
#
-IF(ENABLE_MPMD)
- IF(ENABLE_LIBERIO)
- MESSAGE(STATUS "Compiling MPMD with liberio support...")
- ADD_DEFINITIONS(-DHAVE_LIBERIO)
- ENDIF(ENABLE_LIBERIO)
+if(ENABLE_MPMD)
+ if(ENABLE_LIBERIO)
+ message(STATUS "Compiling MPMD with liberio support...")
+ add_definitions(-DHAVE_LIBERIO)
+ endif(ENABLE_LIBERIO)
LIBUHD_APPEND_SOURCES(
${CMAKE_CURRENT_SOURCE_DIR}/mpmd_find.cpp
@@ -21,10 +21,10 @@ IF(ENABLE_MPMD)
${CMAKE_CURRENT_SOURCE_DIR}/mpmd_xport_ctrl_udp.cpp
)
- IF(ENABLE_LIBERIO)
+ if(ENABLE_LIBERIO)
LIBUHD_APPEND_SOURCES(
${CMAKE_CURRENT_SOURCE_DIR}/mpmd_xport_ctrl_liberio.cpp
)
- ENDIF(ENABLE_LIBERIO)
+ endif(ENABLE_LIBERIO)
-ENDIF(ENABLE_MPMD)
+endif(ENABLE_MPMD)
diff --git a/host/lib/usrp/n230/CMakeLists.txt b/host/lib/usrp/n230/CMakeLists.txt
index 9d16067a0..6acb332b8 100644
--- a/host/lib/usrp/n230/CMakeLists.txt
+++ b/host/lib/usrp/n230/CMakeLists.txt
@@ -12,7 +12,7 @@
########################################################################
# Conditionally configure the N230 support
########################################################################
-IF(ENABLE_N230)
+if(ENABLE_N230)
LIBUHD_APPEND_SOURCES(
${CMAKE_CURRENT_SOURCE_DIR}/n230_cores.cpp
${CMAKE_CURRENT_SOURCE_DIR}/n230_impl.cpp
@@ -25,4 +25,4 @@ IF(ENABLE_N230)
${CMAKE_CURRENT_SOURCE_DIR}/n230_image_loader.cpp
${CMAKE_CURRENT_SOURCE_DIR}/n230_fw_ctrl_iface.cpp
)
-ENDIF(ENABLE_N230)
+endif(ENABLE_N230)
diff --git a/host/lib/usrp/usrp1/CMakeLists.txt b/host/lib/usrp/usrp1/CMakeLists.txt
index 0c3c94c7b..95b6abb22 100644
--- a/host/lib/usrp/usrp1/CMakeLists.txt
+++ b/host/lib/usrp/usrp1/CMakeLists.txt
@@ -12,7 +12,7 @@
########################################################################
# Conditionally configure the USRP1 support
########################################################################
-IF(ENABLE_USRP1)
+if(ENABLE_USRP1)
LIBUHD_APPEND_SOURCES(
${CMAKE_CURRENT_SOURCE_DIR}/codec_ctrl.cpp
${CMAKE_CURRENT_SOURCE_DIR}/dboard_iface.cpp
@@ -22,4 +22,4 @@ IF(ENABLE_USRP1)
${CMAKE_CURRENT_SOURCE_DIR}/usrp1_iface.cpp
${CMAKE_CURRENT_SOURCE_DIR}/usrp1_impl.cpp
)
-ENDIF(ENABLE_USRP1)
+endif(ENABLE_USRP1)
diff --git a/host/lib/usrp/usrp2/CMakeLists.txt b/host/lib/usrp/usrp2/CMakeLists.txt
index 8e7e186bb..ab9115eca 100644
--- a/host/lib/usrp/usrp2/CMakeLists.txt
+++ b/host/lib/usrp/usrp2/CMakeLists.txt
@@ -12,7 +12,7 @@
########################################################################
# Conditionally configure the USRP2 support
########################################################################
-IF(ENABLE_USRP2)
+if(ENABLE_USRP2)
LIBUHD_APPEND_SOURCES(
${CMAKE_CURRENT_SOURCE_DIR}/clock_ctrl.cpp
${CMAKE_CURRENT_SOURCE_DIR}/codec_ctrl.cpp
@@ -24,4 +24,4 @@ IF(ENABLE_USRP2)
${CMAKE_CURRENT_SOURCE_DIR}/usrp2_fifo_ctrl.cpp
${CMAKE_CURRENT_SOURCE_DIR}/n200_image_loader.cpp
)
-ENDIF(ENABLE_USRP2)
+endif(ENABLE_USRP2)
diff --git a/host/lib/usrp/x300/CMakeLists.txt b/host/lib/usrp/x300/CMakeLists.txt
index 08dde87d2..ba1a8678c 100644
--- a/host/lib/usrp/x300/CMakeLists.txt
+++ b/host/lib/usrp/x300/CMakeLists.txt
@@ -12,7 +12,7 @@
########################################################################
# Conditionally configure the X300 support
########################################################################
-IF(ENABLE_X300)
+if(ENABLE_X300)
LIBUHD_APPEND_SOURCES(
${CMAKE_CURRENT_SOURCE_DIR}/x300_radio_ctrl_impl.cpp
${CMAKE_CURRENT_SOURCE_DIR}/x300_impl.cpp
@@ -28,4 +28,4 @@ IF(ENABLE_X300)
${CMAKE_CURRENT_SOURCE_DIR}/x300_mb_eeprom.cpp
${CMAKE_CURRENT_SOURCE_DIR}/cdecode.c
)
-ENDIF(ENABLE_X300)
+endif(ENABLE_X300)