-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hi @nick-young-gs . @nickyoung-github I'm trying to get this to generate header files from my pydantic class.. Here's the cmake
cmake_minimum_required(VERSION 3.9)
project(mdata_model)
set(CMAKE_CXX_STANDARD 20)
find_package(Python3 REQUIRED COMPONENTS Interpreter Development)
find_package(pydantic_bind REQUIRED COMPONENTS HINTS "${Python3_SITELIB}")
pydantic_bind_add_package(./)
Here's the error
10:30 ❯ cmake .
CMake Error at CMakeLists.txt:7 (find_package):
Could not find a package configuration file provided by "pydantic_bind"
with any of the following names:
pydantic_bindConfig.cmake
pydantic_bind-config.cmake
Add the installation prefix of "pydantic_bind" to CMAKE_PREFIX_PATH or set
"pydantic_bind_DIR" to a directory containing one of the above files. If
"pydantic_bind" provides a separate development package or SDK, be sure it
has been installed.
Metadata
Metadata
Assignees
Labels
No labels