summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2023-07-06 13:49:12 +0200
committerTor Egge <Tor.Egge@online.no>2023-07-06 13:49:12 +0200
commitcb9cbf82e797c64a98c63e32ac33c2596ed76cc2 (patch)
tree70f1cc0e35fc8aee3effc16051831fb9c04d7605 /CMakeLists.txt
parent406db8897553ce0c40419f4a8113185bd104f5a0 (diff)
Find python package with development artifacts.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 11fc48647c8..1ee96529c32 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -51,7 +51,7 @@ find_package(JNI REQUIRED)
find_package(GTest REQUIRED)
-set(PYBIND11_FIND_PYTHON ON)
+find_package(Python 3.6 COMPONENTS Interpreter Development REQUIRED)
find_package(pybind11 CONFIG REQUIRED)
find_package(Protobuf REQUIRED)