Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
4b585ba0
Unverified
Commit
4b585ba0
authored
Jul 03, 2023
by
Chang Liu
Committed by
GitHub
Jul 03, 2023
Browse files
[Build] Build sparse lib with c++17 (#5934)
parent
ff9f05c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
dgl_sparse/CMakeLists.txt
dgl_sparse/CMakeLists.txt
+3
-0
No files found.
dgl_sparse/CMakeLists.txt
View file @
4b585ba0
...
@@ -60,3 +60,6 @@ endif()
...
@@ -60,3 +60,6 @@ endif()
target_link_libraries
(
${
LIB_DGL_SPARSE_NAME
}
dmlc dgl
)
target_link_libraries
(
${
LIB_DGL_SPARSE_NAME
}
dmlc dgl
)
set
(
GOOGLE_TEST 0
)
# Turn off dmlc-core test
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
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment