diff options
author | Brooks Prumo <brooks@prumo.org> | 2016-01-15 17:19:47 -0600 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2016-01-21 20:39:35 +0100 |
commit | 23ed1af481aa4a2901887a3127d42cf398fd40f5 (patch) | |
tree | 0118c6b5757de92137f541c54d7ae72b4b1bdf22 /host/CMakeLists.txt | |
parent | db3db1e2f031b543dccfb946afa311553e86f79c (diff) | |
download | uhd-23ed1af481aa4a2901887a3127d42cf398fd40f5.tar.gz uhd-23ed1af481aa4a2901887a3127d42cf398fd40f5.tar.bz2 uhd-23ed1af481aa4a2901887a3127d42cf398fd40f5.zip |
uhd: add CMake flag for the Windows registry key to specify UHD images directory
Diffstat (limited to 'host/CMakeLists.txt')
-rw-r--r-- | host/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt index 8953e839d..6ac281ccc 100644 --- a/host/CMakeLists.txt +++ b/host/CMakeLists.txt @@ -75,9 +75,9 @@ 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 USE_NIUSRP_WINREG_KEY) - ADD_DEFINITIONS(-DUSE_NIUSRP_WINREG_KEY) -ENDIF(DEFINED USE_NIUSRP_WINREG_KEY) +IF(DEFINED UHD_IMAGES_DIR_WINREG_KEY) + ADD_DEFINITIONS(-DUHD_IMAGES_DIR_WINREG_KEY=${UHD_IMAGES_DIR_WINREG_KEY}) +ENDIF(DEFINED UHD_IMAGES_DIR_WINREG_KEY) ######################################################################## # Local Include Dir |