File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -204,10 +204,14 @@ add_subdirectory(${CMAKE_BINARY_DIR}/googletest-src
204204 EXCLUDE_FROM_ALL )
205205endif ()
206206
207+ if (MSVC )
208+ SET (BCRYPT_LIBRARIES "bcrypt.lib" )
209+ ENDIF ()
210+
207211set (LIBVOXELIZER_HEADER_FILES progress_writer.h dim3.h sweep.h shift.h collapse.h edge_detect.h fill_gaps.h offset.h polyfill.h resample.h storage.h writer.h factory.h processor.h volume.h voxelizer.h traversal.h util.h json_logger.h)
208212set (LIBVOXELIZER_SOURCE_FILES tribox3.cpp polyfill.cpp progress_writer.cpp storage.cpp factory.cpp json_logger.cpp)
209213add_library (libvoxel STATIC ${LIBVOXELIZER_HEADER_FILES} ${LIBVOXELIZER_SOURCE_FILES} )
210- target_link_libraries (libvoxel ${IFC_LIBRARIES} ${ICU_LIBRARIES} ${Boost_LIBRARIES} "bcrypt.lib" ${OCC_LIBRARIES} ${LIB_RT} ${dl} ${CMAKE_THREAD_LIBS_INIT} ${WS2_LIBRARIES} )
214+ target_link_libraries (libvoxel ${IFC_LIBRARIES} ${ICU_LIBRARIES} ${Boost_LIBRARIES} ${BCRYPT_LIBRARIES} ${OCC_LIBRARIES} ${LIB_RT} ${dl} ${CMAKE_THREAD_LIBS_INIT} ${WS2_LIBRARIES} )
211215
212216set (LIBVOXEC_HEADER_FILES voxelfile.h voxec.h)
213217set (LIBVOXEC_SOURCE_FILES voxec.cpp)
You can’t perform that action at this time.
0 commit comments