Skip to content

Commit 7bbca8c

Browse files
committed
Fix /openvdb/nanovdb/nanovdb/CMakeLists.txt
Signed-off-by: pon <[email protected]>
1 parent 6c044e6 commit 7bbca8c

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

nanovdb/nanovdb/CMakeLists.txt

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -169,17 +169,6 @@ set(NANOVDB_INCLUDE_UTILFILES
169169
util/CpuTimer.h
170170
util/CreateNanoGrid.h
171171
util/CSampleFromVoxels.h
172-
util/cuda/CudaAddBlindData.cuh
173-
util/cuda/CudaDeviceBuffer.h
174-
util/cuda/CudaGridChecksum.cuh
175-
util/cuda/CudaGridHandle.cuh
176-
util/cuda/CudaGridStats.cuh
177-
util/cuda/CudaIndexToGrid.cuh
178-
util/cuda/CudaNodeManager.cuh
179-
util/cuda/CudaPointsToGrid.cuh
180-
util/cuda/CudaSignedFloodFill.cuh
181-
util/cuda/CudaUtils.h
182-
util/cuda/GpuTimer.h
183172
util/DitherLUT.h
184173
util/ForEach.h
185174
util/GridBuilder.h
@@ -202,6 +191,19 @@ set(NANOVDB_INCLUDE_UTILFILES
202191
util/SampleFromVoxels.h
203192
util/Stencils.h
204193
)
194+
set(NANOVDB_INCLUDE_UTILFILES_CUDA
195+
util/cuda/CudaAddBlindData.cuh
196+
util/cuda/CudaDeviceBuffer.h
197+
util/cuda/CudaGridChecksum.cuh
198+
util/cuda/CudaGridHandle.cuh
199+
util/cuda/CudaGridStats.cuh
200+
util/cuda/CudaIndexToGrid.cuh
201+
util/cuda/CudaNodeManager.cuh
202+
util/cuda/CudaPointsToGrid.cuh
203+
util/cuda/CudaSignedFloodFill.cuh
204+
util/cuda/CudaUtils.h
205+
util/cuda/GpuTimer.h
206+
)
205207

206208
add_library(nanovdb INTERFACE)
207209
target_include_directories(nanovdb INTERFACE ../)
@@ -268,9 +270,11 @@ endif()
268270

269271
set(NANOVDB_INSTALL_INCLUDEDIR ${CMAKE_INSTALL_INCLUDEDIR}/nanovdb)
270272
set(NANOVDB_INSTALL_UTILDIR ${NANOVDB_INSTALL_INCLUDEDIR}/util)
273+
set(NANOVDB_INSTALL_UTILDIR_CUDA ${NANOVDB_INSTALL_UTILDIR}/cuda)
271274

272275
install(FILES ${NANOVDB_INCLUDE_FILES} DESTINATION ${NANOVDB_INSTALL_INCLUDEDIR})
273276
install(FILES ${NANOVDB_INCLUDE_UTILFILES} DESTINATION ${NANOVDB_INSTALL_UTILDIR})
277+
install(FILES ${NANOVDB_INCLUDE_UTILFILES_CUDA} DESTINATION ${NANOVDB_INSTALL_UTILDIR_CUDA})
274278

275279
###############################################################################
276280
# Options

0 commit comments

Comments
 (0)