File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -574,8 +574,10 @@ file(GLOB HIPRT_HEADERS "${CMAKE_CURRENT_SOURCE_DIR}/hiprt/*.h")
574574install (FILES ${HIPRT_HEADERS}
575575 DESTINATION include /hiprt)
576576
577- # add header files from implementation folder
577+ # Add header files from implementation folder.
578+ # Ignore header which is generated by the baking tool and is only needed by the build process.
578579file (GLOB HIPRT_IMPL_HEADERS "${CMAKE_CURRENT_SOURCE_DIR} /hiprt/impl/*.h" )
580+ list (REMOVE_ITEM HIPRT_IMPL_HEADERS "${CMAKE_CURRENT_SOURCE_DIR} /hiprt/impl/bvh_build_array.h" )
579581install (FILES ${HIPRT_IMPL_HEADERS}
580582 DESTINATION include /hiprt/impl)
581583
@@ -590,12 +592,6 @@ if(PRECOMPILE AND NOT BAKE_COMPILED_KERNEL)
590592 DESTINATION bin)
591593endif ()
592594
593- # Baked headers.
594- if (BAKE_COMPILED_KERNEL)
595- install (FILES ${KERNEL_HIPRT_H}
596- DESTINATION include /hiprt/impl)
597- endif ()
598-
599595# Project: Unit Test
600596if (NOT NO_UNITTEST)
601597
You can’t perform that action at this time.
0 commit comments