Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bcc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
bcc
Commits
29cc81ee
Commit
29cc81ee
authored
May 06, 2015
by
4ast
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7 from plumgrid/clang-300
Reduce strength of clang requirement to 3.0
parents
54be0e44
3bf41473
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
CMakeLists.txt
CMakeLists.txt
+2
-2
No files found.
CMakeLists.txt
View file @
29cc81ee
...
...
@@ -20,8 +20,8 @@ endif()
execute_process
(
COMMAND
${
CLANG
}
--version OUTPUT_VARIABLE CLANG_VERSION_RAW
)
string
(
REGEX MATCH
"[0-9]+[.][0-9]+[.][0-9]+"
CLANG_VERSION
${
CLANG_VERSION_RAW
}
)
message
(
STATUS
"Found CLANG:
${
CLANG
}
(found version
\"
${
CLANG_VERSION
}
\"
)"
)
if
(
CLANG_VERSION VERSION_LESS 3.
5
.0
)
message
(
FATAL_ERROR
"requires clang version >= 3.
5
.0,
${
CLANG_VERSION
}
found"
)
if
(
CLANG_VERSION VERSION_LESS 3.
0
.0
)
message
(
FATAL_ERROR
"requires clang version >= 3.
0
.0,
${
CLANG_VERSION
}
found"
)
endif
()
set
(
CMAKE_C_FLAGS
"-Wall"
)
...
...
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