better cmake for python and pybind11 2.6.1

This commit is contained in:
Erik Frojdh
2020-11-23 08:57:00 +01:00
parent 2eea1882d2
commit 90a9cea670
3 changed files with 4 additions and 9 deletions

View File

@ -1,6 +1,4 @@
# find_package (Python COMPONENTS Interpreter Development)
pybind11_add_module(_slsdet
src/main.cpp
src/enums.cpp
@ -9,11 +7,8 @@ pybind11_add_module(_slsdet
)
target_link_libraries(_slsdet PUBLIC
slsDetectorShared
slsReceiverShared
slsSupportShared
${ZeroMQ_LIBRARIES}
)
slsDetectorStatic
)