Merge pull request #170 from nyue/master

Clean up superfluous directories draco/src in include
This commit is contained in:
tomfinegan 2017-08-07 12:17:04 -07:00 committed by GitHub
commit c8b6219ff9

View File

@ -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()