Fix absolute path detection
This commit is contained in:
parent
3e224b9750
commit
4959db83d4
@ -169,7 +169,7 @@ endmacro()
|
||||
|
||||
macro(install_obs_headers)
|
||||
foreach(hdr ${ARGN})
|
||||
if("${hdr}" MATCHES "^/.*$")
|
||||
if("${hdr}" MATCHES "^(/|[a-zA-Z]:[/\\\\]).*$")
|
||||
set(subdir)
|
||||
else()
|
||||
get_filename_component(subdir "${hdr}" DIRECTORY)
|
||||
|
Loading…
x
Reference in New Issue
Block a user