From 592b61441c5c16440101cb1ad43455463a0a89c9 Mon Sep 17 00:00:00 2001 From: Ray-V Date: Wed, 25 Mar 2020 12:16:46 +0000 Subject: Enable kig python scripting for cmake build. Fix detection of boost_python library for cmake build. Use find_package( Python COMPONENTS ... ) for CMake >= 3.12. Add WITH_KIG_PYTHON_SCRIPTING option. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This resolves issue #6. Signed-off-by: Ray-V Signed-off-by: gregory guy Signed-off-by: Slávek Banko (cherry picked from commit 324c040645bcaa127717113a4a6cf6cf8693f938) --- config.h.cmake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.h.cmake') diff --git a/config.h.cmake b/config.h.cmake index 5c4e807e..e652bc51 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -19,6 +19,9 @@ // Define the Python interpreter (python2 vs python3) #cmakedefine KIG_Python_init @KIG_Python_init@ +// Define Kig python scripting +#cmakedefine KIG_ENABLE_PYTHON_SCRIPTING 1 + // Defined to 1 if you have header file. #cmakedefine HAVE_LINUX_VIDEODEV2_H 1 -- cgit v1.2.1