Unverified Commit 4b585ba0 authored by Chang Liu's avatar Chang Liu Committed by GitHub
Browse files

[Build] Build sparse lib with c++17 (#5934)

parent ff9f05c5
......@@ -60,3 +60,6 @@ endif()
target_link_libraries(${LIB_DGL_SPARSE_NAME} dmlc dgl)
set(GOOGLE_TEST 0) # Turn off dmlc-core test
# Configure dgl_sparse library to use C++17 standard for compatibility with PyTorch
set_property(TARGET ${LIB_DGL_SPARSE_NAME} PROPERTY CXX_STANDARD 17)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment