mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-08-12 07:19:01 +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
|
||||
# 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})
|
||||
get_filename_component(file_directory ${filename} DIRECTORY)
|
||||
install(FILES ${filename} DESTINATION
|
||||
install(FILES src/draco/${filename} DESTINATION
|
||||
"${CMAKE_INSTALL_PREFIX}/include/draco/${file_directory}")
|
||||
endforeach()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user