mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-25 06:35:12 +00:00
cmake: report version type in the version string (#3472)
This commit is contained in:
parent
9422d98fcc
commit
d2b2131603
@ -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")
|
|||||||
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()
|
||||||
|
Loading…
Reference in New Issue
Block a user