diff options
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 d38b4902c..f7a35fc8b 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 |