Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the regex for detecting in-source builds. #736

Merged
merged 1 commit into from
Oct 6, 2014

Conversation

alliepiper
Copy link
Contributor

@aashish24
Copy link
Contributor

LGTM

aashish24 added a commit that referenced this pull request Oct 6, 2014
Fix the regex for detecting in-source builds.
@aashish24 aashish24 merged commit 4ff2921 into master Oct 6, 2014
@aashish24 aashish24 deleted the 713_out_oF_source_fix branch October 6, 2014 01:14
@aashish24 aashish24 deleted the 713_out_oF_source_fix branch October 6, 2014 01:14
@@ -9,7 +9,7 @@ endif()
project(cdat)

# Disable in source build of any kind
STRING(REGEX MATCH "${cdat_SOURCE_DIR}/" BUILDINSOURCE "${cdat_BINARY_DIR}/")
STRING(REGEX MATCH "^${cdat_SOURCE_DIR}/" BUILDINSOURCE "${cdat_BINARY_DIR}/")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you confident that these don't have trailing slashes? That would cause false negatives...

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.

3 participants