summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
authorRay-V <ray-v@inbox.lv>2020-03-25 12:16:46 +0000
committerSlávek Banko <slavek.banko@axis.cz>2020-03-29 19:28:37 +0200
commit324c040645bcaa127717113a4a6cf6cf8693f938 (patch)
tree233cf0861da114ab74976b37cf15cc9cf2ea8a9e /config.h.cmake
parent51443b3e12e75b40f237543b5439709889cdfaa3 (diff)
downloadtdeedu-324c040645bcaa127717113a4a6cf6cf8693f938.tar.gz
tdeedu-324c040645bcaa127717113a4a6cf6cf8693f938.zip
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. This resolves issue #6. Signed-off-by: Ray-V <ray-v@inbox.lv> Signed-off-by: gregory guy <gregory-tde@laposte.net> Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake3
1 files changed, 3 insertions, 0 deletions
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 <linux/videodev2.h> header file.
#cmakedefine HAVE_LINUX_VIDEODEV2_H 1