Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Courses
DrawSVG
Commits
42921b1a
Unverified
Commit
42921b1a
authored
Feb 17, 2021
by
fzyzcjy
Committed by
GitHub
Feb 17, 2021
Browse files
Update CMakeLists to avoid warning of mis-matching arguments
parent
052a7244
Changes
1
Show whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
42921b1a
...
...
@@ -35,12 +35,12 @@ if(APPLE)
if
(
BUILD_DEBUG OR CMAKE_BUILD_TYPE MATCHES
"Debug"
)
set
(
CMAKE_BUILD_TYPE Debug
)
else
(
BUILD_DEBUG
)
else
(
BUILD_DEBUG
OR CMAKE_BUILD_TYPE MATCHES
"Debug"
)
set
(
CLANG_CXX_FLAGS
"
${
CLANG_CXX_FLAGS
}
-O3"
)
set
(
CLANG_CXX_FLAGS
"
${
CLANG_CXX_FLAGS
}
-funroll-loops"
)
set
(
CLANG_CXX_FLAGS
"
${
CLANG_CXX_FLAGS
}
-Wno-narrowing"
)
set
(
CLANG_CXX_FLAGS
"
${
CLANG_CXX_FLAGS
}
-Wno-deprecated-register"
)
endif
(
BUILD_DEBUG
)
endif
(
BUILD_DEBUG
OR CMAKE_BUILD_TYPE MATCHES
"Debug"
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
${
CLANG_CXX_FLAGS
}
"
)
...
...
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