message(STATUS "GGML CUDA sources found, configuring CUDA architecture")
set_property(TARGET ggml PROPERTY CUDA_ARCHITECTURES "52;61")
set_property(TARGET ggml PROPERTY CUDA_SELECT_NVCC_ARCH_FLAGS "Auto")
- target_link_libraries(ggml PUBLIC stdc++)
+ if (NOT MSVC)
+ target_link_libraries(ggml PUBLIC stdc++)
+ endif()
endif()
set (GGML_PUBLIC_HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/../include/ggml/ggml.h)