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

Add MODULE option to common_find_package, simplify argument parsing #503

Merged
merged 1 commit into from
Jul 25, 2016

Conversation

rdumusc
Copy link

@rdumusc rdumusc commented Jul 25, 2016

Seems to work but please review carefully :-)


# Boost is always SYSTEM
if(${Package_Name} STREQUAL "Boost")
set(__is_system_package ON)
set(__pkg_SYSTEM TRUE)
Copy link
Member

Choose a reason for hiding this comment

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

__pkg_SYSTEM is not used. There must be a __is_system_package at the end of the function which does include_directories(BEFORE SYSTEM ${__include_dirs}

Copy link
Author

Choose a reason for hiding this comment

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

Good catch!

@tribal-tec
Copy link
Member

+1
I hope I was carefully enough

@rdumusc rdumusc merged commit babb2c4 into Eyescale:master Jul 25, 2016
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.

2 participants