microsoft/onnxruntime-extensions

Public

mirrored fromhttps://github.com/microsoft/onnxruntime-extensionsAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
b5ba84a185c5c85c436e744c40ac9a8cbd9d3f1f

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

cmake/externals/pybind11.cmake

15lines · modecode

1FetchContent_Declare(
2 pybind11
3 GIT_REPOSITORY https://github.com/pybind/pybind11.git
4 GIT_TAG v2.6.0
5)
6
7FetchContent_GetProperties(pybind11)
8# Check if population has already been performed
9string(TOLOWER "pybind11" lcName)
10if(NOT ${lcName}_POPULATED)
11 # Fetch the content using previously declared details
12 FetchContent_Populate(pybind11)
13endif()
14
15set(pybind11_INCLUDE_DIRS ${pybind11_SOURCE_DIR}/include)
16