Compare commits
2 Commits
fix-compil
...
fix-format
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
136fcc7ba1 | ||
|
|
60182d8959 |
@@ -8,3 +8,4 @@ repos:
|
|||||||
hooks:
|
hooks:
|
||||||
- id: cmake-format
|
- id: cmake-format
|
||||||
- id: cmake-lint
|
- id: cmake-lint
|
||||||
|
args: [--disabled-codes=C0301]
|
||||||
|
|||||||
@@ -9,9 +9,7 @@ if(NOT pybind11_FOUND)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Needed to set ${Python_VERSION_MAJOR} and ${Python_VERSION_MINOR}
|
# Needed to set ${Python_VERSION_MAJOR} and ${Python_VERSION_MINOR}
|
||||||
find_package(
|
find_package(Python REQUIRED)
|
||||||
Python REQUIRED
|
|
||||||
)
|
|
||||||
|
|
||||||
pybind11_add_module(pytrigdx bindings.cpp)
|
pybind11_add_module(pytrigdx bindings.cpp)
|
||||||
target_link_libraries(pytrigdx PRIVATE trigdx)
|
target_link_libraries(pytrigdx PRIVATE trigdx)
|
||||||
|
|||||||
Reference in New Issue
Block a user