From 50b5942366a0d131c5680dc7641ba6f4c57240c8 Mon Sep 17 00:00:00 2001 From: Michael Dickens Date: Wed, 24 Jul 2019 09:20:56 -0400 Subject: 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. --- host/cmake/Modules/UHDLog.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/cmake/Modules') 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() -- cgit v1.2.3