Skip to content

Commit

Permalink
Fix /openvdb/nanovdb/nanovdb/CMakeLists.txt
Browse files Browse the repository at this point in the history
Signed-off-by: pon <49616225+AJpon@users.noreply.github.com>
  • Loading branch information
AJpon committed Apr 6, 2024
1 parent 6c044e6 commit 7bbca8c
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions nanovdb/nanovdb/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -169,17 +169,6 @@ set(NANOVDB_INCLUDE_UTILFILES
util/CpuTimer.h
util/CreateNanoGrid.h
util/CSampleFromVoxels.h
util/cuda/CudaAddBlindData.cuh
util/cuda/CudaDeviceBuffer.h
util/cuda/CudaGridChecksum.cuh
util/cuda/CudaGridHandle.cuh
util/cuda/CudaGridStats.cuh
util/cuda/CudaIndexToGrid.cuh
util/cuda/CudaNodeManager.cuh
util/cuda/CudaPointsToGrid.cuh
util/cuda/CudaSignedFloodFill.cuh
util/cuda/CudaUtils.h
util/cuda/GpuTimer.h
util/DitherLUT.h
util/ForEach.h
util/GridBuilder.h
Expand All @@ -202,6 +191,19 @@ set(NANOVDB_INCLUDE_UTILFILES
util/SampleFromVoxels.h
util/Stencils.h
)
set(NANOVDB_INCLUDE_UTILFILES_CUDA
util/cuda/CudaAddBlindData.cuh
util/cuda/CudaDeviceBuffer.h
util/cuda/CudaGridChecksum.cuh
util/cuda/CudaGridHandle.cuh
util/cuda/CudaGridStats.cuh
util/cuda/CudaIndexToGrid.cuh
util/cuda/CudaNodeManager.cuh
util/cuda/CudaPointsToGrid.cuh
util/cuda/CudaSignedFloodFill.cuh
util/cuda/CudaUtils.h
util/cuda/GpuTimer.h
)

add_library(nanovdb INTERFACE)
target_include_directories(nanovdb INTERFACE ../)
Expand Down Expand Up @@ -268,9 +270,11 @@ endif()

set(NANOVDB_INSTALL_INCLUDEDIR ${CMAKE_INSTALL_INCLUDEDIR}/nanovdb)
set(NANOVDB_INSTALL_UTILDIR ${NANOVDB_INSTALL_INCLUDEDIR}/util)
set(NANOVDB_INSTALL_UTILDIR_CUDA ${NANOVDB_INSTALL_UTILDIR}/cuda)

install(FILES ${NANOVDB_INCLUDE_FILES} DESTINATION ${NANOVDB_INSTALL_INCLUDEDIR})
install(FILES ${NANOVDB_INCLUDE_UTILFILES} DESTINATION ${NANOVDB_INSTALL_UTILDIR})
install(FILES ${NANOVDB_INCLUDE_UTILFILES_CUDA} DESTINATION ${NANOVDB_INSTALL_UTILDIR_CUDA})

###############################################################################
# Options
Expand Down

0 comments on commit 7bbca8c

Please sign in to comment.