Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
DrawSVG
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Courses
DrawSVG
Commits
42921b1a
Unverified
Commit
42921b1a
authored
4 years ago
by
fzyzcjy
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update CMakeLists to avoid warning of mis-matching arguments
parent
052a7244
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+2
-2
2 additions, 2 deletions
CMakeLists.txt
with
2 additions
and
2 deletions
CMakeLists.txt
+
2
−
2
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
}
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment