diff options
Diffstat (limited to 'host/lib')
-rw-r--r-- | host/lib/utils/CMakeLists.txt | 6 | ||||
-rw-r--r-- | host/lib/utils/prefs.cpp | 1 |
2 files changed, 1 insertions, 6 deletions
diff --git a/host/lib/utils/CMakeLists.txt b/host/lib/utils/CMakeLists.txt index 0af642f90..f81e0763f 100644 --- a/host/lib/utils/CMakeLists.txt +++ b/host/lib/utils/CMakeLists.txt @@ -215,12 +215,6 @@ SET_SOURCE_FILES_PROPERTIES( "UHD_PKG_PATH=\"${UHD_PKG_PATH}\";UHD_LIB_DIR=\"${UHD_LIB_DIR}\"" ) -SET_SOURCE_FILES_PROPERTIES( - ${CMAKE_CURRENT_SOURCE_DIR}/prefs.cpp - PROPERTIES COMPILE_DEFINITIONS - "UHD_SYS_CONF_FILE=\"${UHD_SYS_CONF_FILE}\";UHD_USER_CONF_FILE=\"${UHD_USER_CONF_FILE}\"" -) - ######################################################################## # Append sources ######################################################################## diff --git a/host/lib/utils/prefs.cpp b/host/lib/utils/prefs.cpp index 5e5fa40f5..2ccc538fc 100644 --- a/host/lib/utils/prefs.cpp +++ b/host/lib/utils/prefs.cpp @@ -4,6 +4,7 @@ // SPDX-License-Identifier: GPL-3.0+ // +#include <config.h> #include <uhd/utils/log.hpp> #include <uhd/utils/paths.hpp> #include <uhdlib/utils/prefs.hpp> |