Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
ngraph
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ngraph
Commits
804d6297
Commit
804d6297
authored
Oct 10, 2017
by
nikolay.korovaiko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CMakeLists.txt
parent
55ac615b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
CMakeLists.txt
CMakeLists.txt
+13
-0
No files found.
CMakeLists.txt
View file @
804d6297
...
...
@@ -13,6 +13,19 @@
cmake_minimum_required
(
VERSION 2.8
)
if
(
"
${
CMAKE_CXX_COMPILER_ID
}
"
STREQUAL
"GNU"
)
if
(
CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.9
)
message
(
FATAL_ERROR
"GCC version must be at least 4.9!"
)
endif
()
elseif
(
"
${
CMAKE_CXX_COMPILER_ID
}
"
STREQUAL
"Clang"
)
# require at least clang 3.8
if
(
CMAKE_CXX_COMPILER_VERSION VERSION_LESS 3.8
)
message
(
FATAL_ERROR
"Clang version must be at least 3.8!"
)
endif
()
else
()
message
(
WARNING
"You are using an unsupported compiler! Compilation has only been tested with Clang and GCC."
)
endif
()
set
(
NGRAPH_INCLUDE_PATH
${
CMAKE_CURRENT_SOURCE_DIR
}
/src
)
...
...
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