summaryrefslogtreecommitdiff
blob: 2bf79b1fe20e160fd417c9c2fee53fa1d78eb36a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 96a2c90..a3836f8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -187,9 +187,7 @@ find_package(Doxygen)
 
     # Python
     ##########
-
-find_package(PythonLibs 3)
-find_package(pybind11)
+include(GrPybind)
 
 GR_REGISTER_COMPONENT("Python support" ENABLE_PYTHON
     PYTHONLIBS_FOUND