Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
9ac5bc55
Commit
9ac5bc55
authored
May 05, 2016
by
Wenzel Jakob
Browse files
fix captialization issue in CMakeLists.txt
parent
e762853b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
CMakeLists.txt
CMakeLists.txt
+1
-1
docs/cmake.rst
docs/cmake.rst
+1
-1
No files found.
CMakeLists.txt
View file @
9ac5bc55
...
...
@@ -28,7 +28,7 @@ string(TOUPPER "${CMAKE_BUILD_TYPE}" U_CMAKE_BUILD_TYPE)
set
(
Python_ADDITIONAL_VERSIONS 3.4 3.5 3.6 3.7
)
if
(
NOT
${
PYBIND11_PYTHON_VERSION
}
STREQUAL
""
)
find_package
(
PythonLibs
${
PYBIND11_PYTHON_VERSION
}
EXACT
)
if
(
NOT P
ythonLibs
_FOUND
)
if
(
NOT P
YTHONLIBS
_FOUND
)
find_package
(
PythonLibs
${
PYBIND11_PYTHON_VERSION
}
REQUIRED
)
endif
()
else
()
...
...
docs/cmake.rst
View file @
9ac5bc55
...
...
@@ -48,7 +48,7 @@ subdirectory named :file:`pybind11`.
set(Python_ADDITIONAL_VERSIONS 3.4 3.5 3.6 3.7)
if (NOT ${EXAMPLE_PYTHON_VERSION} STREQUAL "")
find_package(PythonLibs ${EXAMPLE_PYTHON_VERSION} EXACT)
if (NOT P
ythonLibs
_FOUND)
if (NOT P
YTHONLIBS
_FOUND)
find_package(PythonLibs ${EXAMPLE_PYTHON_VERSION} REQUIRED)
endif()
else()
...
...
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