aboutsummaryrefslogtreecommitdiffstats
path: root/host/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'host/cmake')
-rw-r--r--host/cmake/Modules/UHDLog.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/cmake/Modules/UHDLog.cmake b/host/cmake/Modules/UHDLog.cmake
index 18643e672..f8a0ac072 100644
--- a/host/cmake/Modules/UHDLog.cmake
+++ b/host/cmake/Modules/UHDLog.cmake
@@ -65,7 +65,7 @@ if(UHD_LOG_CONSOLE_COLOR)
add_definitions(-DUHD_LOG_CONSOLE_COLOR)
endif()
-set(UHD_LOG_FILE "" CACHE FILE "Set UHD log file to a file in a existing directory")
+set(UHD_LOG_FILE "" CACHE STRING "Set UHD log file to a file in a existing directory")
if(NOT UHD_LOG_FILE STREQUAL "")
add_definitions(-DUHD_LOG_FILE=${UHD_LOG_FILE})
endif()