mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-08-12 11:49:08 +08:00
Merge pull request #170 from nyue/master
Clean up superfluous directories draco/src in include
This commit is contained in:
commit
c8b6219ff9
@ -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