Fix absolute path detection

This commit is contained in:
BtbN
2014-05-08 14:43:16 +02:00
parent 3e224b9750
commit 4959db83d4
+1 -1
View File
@@ -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)