@@ -52,7 +52,7 @@ download_submodule_project(eigen)
5252add_subdirectory (deps/eigen)
5353target_link_libraries (${SHARED_LIB_NAME} PUBLIC Eigen3::Eigen)
5454
55- # Open3D (from system ) -----------------------------------------------------
55+ # Open3D (pre-built binaries ) -----------------------------------------------------
5656# The options need to be the same as Open3D's default
5757# If Open3D is configured and built with custom options, you'll also need to
5858# specify the same custom options.
6363 set (CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL" )
6464endif ()
6565
66+ download_submodule_project(open3d)
67+ set (Open3D_DIR ${CMAKE_CURRENT_SOURCE_DIR} /deps/open3d/win/0_18/CMake)
6668find_package (Open3D 0.18.0 REQUIRED)
6769
6870# print the version debug or release of the package
@@ -85,17 +87,17 @@ if(WIN32)
8587 endif ()
8688endif ()
8789
88- # Boost (from system) -----------------------------------------------------
89- # download and install from https://sourceforge.net/projects/boost/files/boost-binaries/1.84.0/boost_1_84_0-msvc-14.3-64.exe/download
90- find_package (Boost REQUIRED)
90+ # # Boost (from system) -----------------------------------------------------
91+ # # download and install from https://sourceforge.net/projects/boost/files/boost-binaries/1.84.0/boost_1_84_0-msvc-14.3-64.exe/download
92+ # find_package(Boost REQUIRED)
9193
92- # print boost include dir
93- message (STATUS "Boost include dir: ${Boost_INCLUDE_DIRS} " )
94+ # # print boost include dir
95+ # message(STATUS "Boost include dir: ${Boost_INCLUDE_DIRS}")
9496
95- target_include_directories (${SHARED_LIB_NAME} PUBLIC ${Boost_INCLUDE_DIRS} )
97+ # target_include_directories(${SHARED_LIB_NAME} PUBLIC ${Boost_INCLUDE_DIRS})
9698
97- # CGAL (header-only) ------------------------------------------------------
98- target_include_directories (${SHARED_LIB_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} /deps/cgal/include )
99+ # # CGAL (header-only) ------------------------------------------------------
100+ # target_include_directories(${SHARED_LIB_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/deps/cgal/include)
99101
100102#--------------------------------------------------------------------------
101103# executable for prototyping
0 commit comments