Skip to content

Comments

CMake: Do not include "${PROJECT_BINARY_DIR}/include" with SYSTEM option#3715

Merged
shelhamer merged 1 commit intoBVLC:masterfrom
olesalscheider:master
Feb 25, 2016
Merged

CMake: Do not include "${PROJECT_BINARY_DIR}/include" with SYSTEM option#3715
shelhamer merged 1 commit intoBVLC:masterfrom
olesalscheider:master

Conversation

@olesalscheider
Copy link
Contributor

This is important for the include order. Without this patch, a
previously installed caffe.pb.h might be included instead of the one
that is generated during the build.

This is important for the include order. Without this patch, a
previously installed caffe.pb.h might be included instead of the one
that is generated during the build.
@shelhamer
Copy link
Member

@jczaja @Nerei or anyone else familiar with CMake, please check this for merge.

@Nerei
Copy link

Nerei commented Feb 25, 2016

Yes. that's right patch. I came from copypast and that I didn't take this into account that caffe may be installed to system paths.

LTGM

shelhamer added a commit that referenced this pull request Feb 25, 2016
CMake: Do not include "${PROJECT_BINARY_DIR}/include" with SYSTEM option
@shelhamer shelhamer merged commit 3b2e733 into BVLC:master Feb 25, 2016
fxbit pushed a commit to Yodigram/caffe that referenced this pull request Sep 1, 2016
CMake: Do not include "${PROJECT_BINARY_DIR}/include" with SYSTEM option
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants