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
35a3ead2
"src/array/vscode:/vscode.git/clone" did not exist on "faa1dc56fc7649b2a7c0db82bd33964708b3fd3d"
Unverified
Commit
35a3ead2
authored
Nov 27, 2020
by
Quan (Andy) Gan
Committed by
GitHub
Nov 27, 2020
Browse files
disable warn-common on mac (#2374)
parent
5ac74f86
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
CMakeLists.txt
CMakeLists.txt
+3
-1
No files found.
CMakeLists.txt
View file @
35a3ead2
...
@@ -95,7 +95,9 @@ else(MSVC)
...
@@ -95,7 +95,9 @@ else(MSVC)
# We still use c++11 flag in CPU build because gcc5.4 (our default compiler) is
# We still use c++11 flag in CPU build because gcc5.4 (our default compiler) is
# not fully compatible with c++14 feature.
# not fully compatible with c++14 feature.
set
(
CMAKE_CXX_FLAGS
"-O2 -Wall -fPIC -std=c++11
${
CMAKE_CXX_FLAGS
}
"
)
set
(
CMAKE_CXX_FLAGS
"-O2 -Wall -fPIC -std=c++11
${
CMAKE_CXX_FLAGS
}
"
)
if
(
NOT APPLE
)
set
(
CMAKE_SHARED_LINKER_FLAGS
"-Wl,--warn-common
${
CMAKE_SHARED_LINKER_FLAGS
}
"
)
set
(
CMAKE_SHARED_LINKER_FLAGS
"-Wl,--warn-common
${
CMAKE_SHARED_LINKER_FLAGS
}
"
)
endif
(
NOT APPLE
)
endif
(
MSVC
)
endif
(
MSVC
)
if
(
USE_OPENMP
)
if
(
USE_OPENMP
)
...
...
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