Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pybind11
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
pybind11
Commits
d4db8bc4
Commit
d4db8bc4
authored
Jan 20, 2016
by
Wenzel Jakob
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor cmake doc improvements
parent
b670b770
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
docs/cmake.rst
+3
-4
No files found.
docs/cmake.rst
View file @
d4db8bc4
...
@@ -29,15 +29,14 @@ and that the pybind11 repository is located in a subdirectory named :file:`pybin
...
@@ -29,15 +29,14 @@ and that the pybind11 repository is located in a subdirectory named :file:`pybin
# Try to autodetect Python (can be overridden manually if needed)
# Try to autodetect Python (can be overridden manually if needed)
set(Python_ADDITIONAL_VERSIONS 3.4 3.5 3.6 3.7)
set(Python_ADDITIONAL_VERSIONS 3.4 3.5 3.6 3.7)
if (NOT ${
PYBIND11
_PYTHON_VERSION} STREQUAL "")
if (NOT ${
EXAMPLE
_PYTHON_VERSION} STREQUAL "")
find_package(PythonLibs ${
PYBIND11
_PYTHON_VERSION} EXACT)
find_package(PythonLibs ${
EXAMPLE
_PYTHON_VERSION} EXACT)
if (NOT PythonLibs_FOUND)
if (NOT PythonLibs_FOUND)
find_package(PythonLibs ${
PYBIND11
_PYTHON_VERSION} REQUIRED)
find_package(PythonLibs ${
EXAMPLE
_PYTHON_VERSION} REQUIRED)
endif()
endif()
else()
else()
find_package(PythonLibs REQUIRED)
find_package(PythonLibs REQUIRED)
endif()
endif()
find_package(PythonInterp ${PYTHONLIBS_VERSION_STRING} EXACT REQUIRED)
# Uncomment the following line if you will also require a matching Python interpreter
# Uncomment the following line if you will also require a matching Python interpreter
# find_package(PythonInterp ${PYTHONLIBS_VERSION_STRING} EXACT REQUIRED)
# find_package(PythonInterp ${PYTHONLIBS_VERSION_STRING} EXACT REQUIRED)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment