mirror of
https://github.com/EttusResearch/uhd.git
synced 2026-10-25 17:36:10 +00:00
cmake: Add some quotes on case certain variables are blank
This commit is contained in:
parent
6768a6152f
commit
e37e4c751d
@ -116,8 +116,8 @@ SET_SOURCE_FILES_PROPERTIES(
|
||||
########################################################################
|
||||
# Define UHD_PKG_DATA_PATH for paths.cpp
|
||||
########################################################################
|
||||
FILE(TO_NATIVE_PATH ${CMAKE_INSTALL_PREFIX} UHD_PKG_PATH)
|
||||
STRING(REPLACE "\\" "\\\\" UHD_PKG_PATH ${UHD_PKG_PATH})
|
||||
FILE(TO_NATIVE_PATH "${CMAKE_INSTALL_PREFIX}" UHD_PKG_PATH)
|
||||
STRING(REPLACE "\\" "\\\\" UHD_PKG_PATH "${UHD_PKG_PATH}")
|
||||
|
||||
STRING(REGEX MATCH ".*/.*" SLASH "${LIB_SUFFIX}")
|
||||
IF(SLASH STREQUAL "")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user