|
@@ -169,7 +169,7 @@ endmacro()
|
|
|
|
|
|
macro(install_obs_headers)
|
|
macro(install_obs_headers)
|
|
foreach(hdr ${ARGN})
|
|
foreach(hdr ${ARGN})
|
|
- if("${hdr}" MATCHES "^/.*$")
|
|
|
|
|
|
+ if("${hdr}" MATCHES "^(/|[a-zA-Z]:[/\\\\]).*$")
|
|
set(subdir)
|
|
set(subdir)
|
|
else()
|
|
else()
|
|
get_filename_component(subdir "${hdr}" DIRECTORY)
|
|
get_filename_component(subdir "${hdr}" DIRECTORY)
|