From 324c040645bcaa127717113a4a6cf6cf8693f938 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 --- kig/scripting/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kig/scripting') 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} ) -- cgit v1.2.1