File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,14 @@ if (BVH_BUILD_C_API)
33 list (APPEND bvh_targets bvh_c)
44endif ()
55
6+ install (
7+ DIRECTORY ${PROJECT_SOURCE_DIR} /src/bvh
8+ DESTINATION include
9+ FILES_MATCHING PATTERN "*.h"
10+ PATTERN "c_api" EXCLUDE )
11+ install (
12+ FILES ${PROJECT_SOURCE_DIR} /src/bvh/v2/c_api/bvh.h
13+ DESTINATION include /bvh/v2/c_api/)
614install (
715 TARGETS ${bvh_targets}
816 EXPORT bvh_exports
Original file line number Diff line number Diff line change @@ -12,12 +12,6 @@ target_include_directories(bvh INTERFACE
1212
1313set_target_properties (bvh PROPERTIES CXX_STANDARD 20)
1414
15- install (
16- DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} /
17- DESTINATION include /bvh/v2
18- FILES_MATCHING PATTERN "*.h"
19- PATTERN "c_api" EXCLUDE )
20-
2115if (BVH_BUILD_C_API)
2216 add_subdirectory (c_api)
2317endif ()
Original file line number Diff line number Diff line change @@ -17,5 +17,3 @@ endif()
1717if (BVH_C_API_UNSAFE_CASTS)
1818 target_compile_definitions (bvh_c PRIVATE -DBVH_C_API_UNSAFE_CASTS)
1919endif ()
20-
21- install (FILES bvh.h DESTINATION include /bvh/v2/c_api/)
You can’t perform that action at this time.
0 commit comments