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

Make python and testing optional #170

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

wegylexy
Copy link
Contributor

@wegylexy wegylexy commented Feb 8, 2021

No description provided.

@wegylexy wegylexy changed the title Exclude Python3 when not found Make python and testing optional Feb 8, 2021
@@ -88,7 +88,10 @@ endif()
# OPENSSL_ROOT_DIR=/usr/local/opt/openssl cmake ..
include_directories(
${GFLAGS_INCLUDE_DIRS} ${GLOG_INCLUDE_DIRS} ${OPENSSL_INCLUDE_DIR}
${Python3_INCLUDE_DIRS})
)
if (${Python3_FOUND})
Copy link
Member

Choose a reason for hiding this comment

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

I think it would be better to make this more explicit, like option(WITH_PYTHON, ...). Otherwise, we just silently don't get python, which could be confusing.

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