summaryrefslogtreecommitdiffstats
path: root/kig/scripting
diff options
context:
space:
mode:
authorRay-V <[email protected]>2020-03-25 12:16:46 +0000
committerSlávek Banko <[email protected]>2020-03-29 19:28:37 +0200
commit324c040645bcaa127717113a4a6cf6cf8693f938 (patch)
tree233cf0861da114ab74976b37cf15cc9cf2ea8a9e /kig/scripting
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 <[email protected]> Signed-off-by: gregory guy <[email protected]> Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'kig/scripting')
-rw-r--r--kig/scripting/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/kig/scripting/CMakeLists.txt b/kig/scripting/CMakeLists.txt
index 01a2e5d6..ab158e89 100644
--- a/kig/scripting/CMakeLists.txt
+++ b/kig/scripting/CMakeLists.txt
@@ -11,7 +11,6 @@ include_directories(
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIB_DIR}
- ${Boost_LIBRARY_DIRS}
)
@@ -28,8 +27,9 @@ tde_add_library( kigscripting STATIC_PIC AUTOMOC
newscriptwizard.cc
LINK
katepartinterfaces
+ tdetexteditor-shared
${PYTHON_LIBRARIES}
- ${Boost_LIBRARIES}
+ ${Boost_PYTHON_LIBRARY}
)