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
b3109816
Unverified
Commit
b3109816
authored
Feb 17, 2021
by
Max Slater
Committed by
GitHub
Feb 17, 2021
Browse files
Merge pull request #1 from fzyzcjy/patch-1
Update CMakeLists to avoid warning of mis-matching arguments
parents
052a7244
42921b1a
Changes
1
Show whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
b3109816
...
...
@@ -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