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
774d5753
Unverified
Commit
774d5753
authored
Dec 08, 2022
by
czkkkkkk
Committed by
GitHub
Dec 08, 2022
Browse files
[CMAKE] Disable --exclude-libs option in MAX OS (#4992)
parent
394794b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
CMakeLists.txt
CMakeLists.txt
+4
-2
No files found.
CMakeLists.txt
View file @
774d5753
...
@@ -254,8 +254,10 @@ if(NOT MSVC)
...
@@ -254,8 +254,10 @@ if(NOT MSVC)
set
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
-Wall"
)
set
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
-Wall"
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-Wall"
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-Wall"
)
# Avoid exposing third-party symbols when using DGL as a library.
# Avoid exposing third-party symbols when using DGL as a library.
set
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
-Wl,--exclude-libs,ALL"
)
if
(
NOT
${
CMAKE_SYSTEM_NAME
}
MATCHES
"Darwin"
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-Wl,--exclude-libs,ALL"
)
set
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
-Wl,--exclude-libs,ALL"
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-Wl,--exclude-libs,ALL"
)
endif
()
endif
(
NOT MSVC
)
endif
(
NOT MSVC
)
# Compile TVM Runtime and Featgraph
# Compile TVM Runtime and Featgraph
...
...
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