aboutsummaryrefslogtreecommitdiffstats
path: root/host/cmake/Modules
diff options
context:
space:
mode:
authorMichael Dickens <michael.dickens@ettus.com>2019-07-24 09:20:56 -0400
committerBrent Stapleton <brent.stapleton@ettus.com>2019-07-24 11:20:31 -0700
commit50b5942366a0d131c5680dc7641ba6f4c57240c8 (patch)
treee6c4132fa3f87acab38ee529ef4db0caba0bd395 /host/cmake/Modules
parente76988c579e5e154416d94c27be89bd5f6dc56fa (diff)
downloaduhd-50b5942366a0d131c5680dc7641ba6f4c57240c8.tar.gz
uhd-50b5942366a0d131c5680dc7641ba6f4c57240c8.tar.bz2
uhd-50b5942366a0d131c5680dc7641ba6f4c57240c8.zip
cmake: UHDLog: Use STRING over FILE for the log file
This is because FILE is not actually a type, and we don't care about an existing file either. It's just a setting for the build.
Diffstat (limited to 'host/cmake/Modules')
-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()