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
e81cf69a
Unverified
Commit
e81cf69a
authored
Feb 02, 2018
by
Adam Procter
Committed by
GitHub
Feb 02, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build error on MacOS by not requiring resource_generator (#438)
parent
9a7ddbc0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
17 deletions
+19
-17
CMakeLists.txt
src/resource/CMakeLists.txt
+19
-17
No files found.
src/resource/CMakeLists.txt
View file @
e81cf69a
...
...
@@ -11,24 +11,26 @@
# See the License for the specific language governing permissions and
# limitations under the License.
set
(
SRC
main.cpp
util.cpp
uncomment.cpp
header_rewrite.cpp
)
if
(
NGRAPH_CPU_ENABLE AND NOT APPLE
)
set
(
SRC
main.cpp
util.cpp
uncomment.cpp
header_rewrite.cpp
)
add_executable
(
resource_generator
${
SRC
}
)
add_dependencies
(
resource_generator ext_llvm eigen ext_mkldnn
)
add_executable
(
resource_generator
${
SRC
}
)
add_dependencies
(
resource_generator ext_llvm eigen ext_mkldnn
)
set
(
HEADER_PATHS
"EIGEN_HEADERS_PATH=
\"
${
EIGEN_INCLUDE_DIR
}
\"
"
"MKLDNN_HEADERS_PATH=
\"
${
MKLDNN_INCLUDE_DIR
}
\"
"
"CLANG_BUILTIN_HEADERS_PATH=
\"
${
LLVM_LIB_DIR
}
/clang/5.0.0/include
\"
"
"TBB_HEADERS_PATH=
\"
${
TBB_ROOT
}
/include
\"
"
"NGRAPH_HEADERS_PATH=
\"
${
NGRAPH_INCLUDE_PATH
}
\"
"
)
set
(
HEADER_PATHS
"EIGEN_HEADERS_PATH=
\"
${
EIGEN_INCLUDE_DIR
}
\"
"
"MKLDNN_HEADERS_PATH=
\"
${
MKLDNN_INCLUDE_DIR
}
\"
"
"CLANG_BUILTIN_HEADERS_PATH=
\"
${
LLVM_LIB_DIR
}
/clang/5.0.0/include
\"
"
"TBB_HEADERS_PATH=
\"
${
TBB_ROOT
}
/include
\"
"
"NGRAPH_HEADERS_PATH=
\"
${
NGRAPH_INCLUDE_PATH
}
\"
"
)
message
(
"HEADER_PATHS
${
HEADER_PATHS
}
"
)
message
(
"HEADER_PATHS
${
HEADER_PATHS
}
"
)
set_source_files_properties
(
main.cpp PROPERTIES COMPILE_DEFINITIONS
"
${
HEADER_PATHS
}
"
)
set_source_files_properties
(
main.cpp PROPERTIES COMPILE_DEFINITIONS
"
${
HEADER_PATHS
}
"
)
endif
()
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