Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
d2b21316
Unverified
Commit
d2b21316
authored
Nov 16, 2021
by
Sergiu Deitsch
Committed by
GitHub
Nov 16, 2021
Browse files
cmake: report version type in the version string (#3472)
parent
9422d98f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tools/pybind11Config.cmake.in
tools/pybind11Config.cmake.in
+2
-2
No files found.
tools/pybind11Config.cmake.in
View file @
d2b21316
...
@@ -13,7 +13,7 @@ This module sets the following variables in your project:
...
@@ -13,7 +13,7 @@ This module sets the following variables in your project:
``pybind11_VERSION``
``pybind11_VERSION``
pybind11 version in format Major.Minor.Release
pybind11 version in format Major.Minor.Release
``pybind11_VERSION_TYPE``
``pybind11_VERSION_TYPE``
pybind11 version type (dev
,
release)
pybind11 version type (
``
dev
*`` or empty for a
release)
``pybind11_INCLUDE_DIRS``
``pybind11_INCLUDE_DIRS``
Directories where pybind11 and python headers are located.
Directories where pybind11 and python headers are located.
``pybind11_INCLUDE_DIR``
``pybind11_INCLUDE_DIR``
...
@@ -228,6 +228,6 @@ include("${CMAKE_CURRENT_LIST_DIR}/pybind11Common.cmake")
...
@@ -228,6 +228,6 @@ include("${CMAKE_CURRENT_LIST_DIR}/pybind11Common.cmake")
if(NOT pybind11_FIND_QUIETLY)
if(NOT pybind11_FIND_QUIETLY)
message(
message(
STATUS
STATUS
"Found pybind11: ${pybind11_INCLUDE_DIR} (found version \"${pybind11_VERSION}
\"
${pybind11_VERSION_TYPE})"
"Found pybind11: ${pybind11_INCLUDE_DIR} (found version \"${pybind11_VERSION}${pybind11_VERSION_TYPE}
\"
)"
)
)
endif()
endif()
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