Skip to content

Commit 9d68671

Browse files
committed
fix for lower version of cmake
1 parent 3c48e26 commit 9d68671

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

apps/surfelwarp_app/CMakeLists.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
file(GLOB SURFELWARP_APP_SRC *.h *.hpp *.cpp *.cu)
22
cuda_add_executable(surfelwarp_app ${SURFELWARP_APP_SRC})
3-
if(MSVC)
4-
set(CUDA_LIBRARY_DIR "${CUDA_TOOLKIT_ROOT_DIR}/lib/x64")
5-
target_link_directories(surfelwarp_app PUBLIC ${CUDA_LIBRARY_DIR}) #${Boost_LIBRARY_DIRS})
6-
endif()
3+
#if(MSVC)
4+
# set(CUDA_LIBRARY_DIR "${CUDA_TOOLKIT_ROOT_DIR}/lib/x64")
5+
# target_link_libraries(surfelwarp_app PUBLIC ${CUDA_LIBRARY_DIR}) #${Boost_LIBRARY_DIRS})
6+
#endif()
77
target_link_libraries(surfelwarp_app common_lib)
88
target_link_libraries(surfelwarp_app math_lib)
99
target_link_libraries(surfelwarp_app imgproc_lib)

common/data_transfer.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ namespace surfelwarp
5454
const DeviceArray<DepthSurfel>& surfel_array,
5555
PointCloud3f_Pointer& point_cloud,
5656
#ifdef WITH_PCL
57-
PointCloudNormal& normal_cloud,
57+
PointCloudNormal_Pointer& normal_cloud,
5858
#endif
5959
const float point_scale = 1000.0f
6060
);

0 commit comments

Comments
 (0)