Skip to content

Add make install and user-defined cmake flags - #12

Open
yongli3 wants to merge 1 commit into
ros-industrial-attic:masterfrom
yongli3:master
Open

Add make install and user-defined cmake flags#12
yongli3 wants to merge 1 commit into
ros-industrial-attic:masterfrom
yongli3:master

Conversation

@yongli3

@yongli3 yongli3 commented Jun 25, 2017

Copy link
Copy Markdown

The current cmakefile does not support “make install”,
and does not support user-defined make flags in cross-compile build.

This causes the cross-compile fail

With this change, we can modify the make flags for corss-compile build:
cmake ../ -DCMAKE_C_FLAGS="-I/usr/include"

Signed-off-by: Yong Li sdliyong@gmail.com

The current cmakefile does not support “make install”,
and does not support user-defined make flags in cross-compile build.

This causes the cross-compile fail

With this change, we can modify the make flags for corss-compile build:
cmake ../  -DCMAKE_C_FLAGS="-I/usr/include"

Signed-off-by: Yong Li <sdliyong@gmail.com>
@yongli3

yongli3 commented Jun 25, 2017

Copy link
Copy Markdown
Author

@onnivoro please help to review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant