mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-08-12 18:19:05 +08:00
Clean up superfluous directories draco/src in include
The way header files are glob resulted in two additional directories being nested in include.
This commit is contained in:
parent
da71b48359
commit
ad7b8c67cd
@ -816,10 +816,10 @@ else ()
|
|||||||
|
|
||||||
# Collect all of the header files in the tree, and add an install rule for
|
# Collect all of the header files in the tree, and add an install rule for
|
||||||
# each.
|
# each.
|
||||||
file(GLOB_RECURSE draco_headers RELATIVE ${draco_root} "*.h")
|
file(GLOB_RECURSE draco_headers RELATIVE ${draco_root}/src/draco "*.h")
|
||||||
foreach (filename ${draco_headers})
|
foreach (filename ${draco_headers})
|
||||||
get_filename_component(file_directory ${filename} DIRECTORY)
|
get_filename_component(file_directory ${filename} DIRECTORY)
|
||||||
install(FILES ${filename} DESTINATION
|
install(FILES ./src/draco/${filename} DESTINATION
|
||||||
"${CMAKE_INSTALL_PREFIX}/include/draco/${file_directory}")
|
"${CMAKE_INSTALL_PREFIX}/include/draco/${file_directory}")
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user