This is needed to find the PYTHON_SITELIB directory for module
installation.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
# Find out if we have threading available
set(CMAKE_THREAD_PREFER_PTHREADS ON)
find_package(Threads)
+
+find_package(PythonInterp)
set(Python_ADDITIONAL_VERSIONS 2.6 2.7 3.3 3.4)
find_package(PythonLibs)
+find_package(PythonSiteLibs)
# config.h checks
include(ConfigureChecks.cmake)