From 1f0c8bd2c76a3d9149fd72a8b1a9a8356362018e Mon Sep 17 00:00:00 2001 From: "A. Maitland Bottoms" Date: Thu, 1 Nov 2018 07:50:07 -0700 Subject: cmake: Improve logic for UHD_IMAGES_DIR A CMake option is either On or Off. UHD_IMAGES_DIR gets a sane default if not specified on the CMake command line. --- host/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt index 5c8b5054b..cfbc81d34 100644 --- a/host/CMakeLists.txt +++ b/host/CMakeLists.txt @@ -167,9 +167,7 @@ if(NOT DEFINED UHD_IMAGES_DIR) endif(DEFINED FPGA_IMAGES_DIR) endif(NOT DEFINED UHD_IMAGES_DIR) -option(UHD_IMAGES_DIR "Path to installed UHD image binaries.") message( STATUS "Using UHD Images Directory: ${UHD_IMAGES_DIR}" ) -add_definitions(-DUHD_IMAGES_DIR=${UHD_IMAGES_DIR}) if(DEFINED UHD_IMAGES_DIR_WINREG_KEY) add_definitions(-DUHD_IMAGES_DIR_WINREG_KEY=${UHD_IMAGES_DIR_WINREG_KEY}) -- cgit v1.2.3