Build superkaramba with Python3.

Signed-off-by: gregory guy <gregory-tde@laposte.net>
pull/38/head
gregory guy 2 years ago
parent ffa8ead9f9
commit e9a905ab5c
No known key found for this signature in database
GPG Key ID: 2CC84A1CC6823AF8

@ -205,10 +205,10 @@ endif ( BUILD_KSIM )
if ( BUILD_SUPERKARAMBA )
check_include_file( "sys/types.h" HAVE_SYS_TYPES_H )
find_package( PythonLibs )
if( NOT PYTHONLIBS_FOUND )
tde_message_fatal( "python is required, but was not found on your system" )
endif( NOT PYTHONLIBS_FOUND )
find_package (Python3 COMPONENTS Development)
if( NOT Python3_Development_FOUND )
tde_message_fatal( "Python3 is required, but was not found on your system" )
endif()
if( WITH_TDENEWSTUFF )
set( HAVE_TDENEWSTUFF 1 )

@ -13,7 +13,7 @@ include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${PYTHON_INCLUDE_DIRS}
${Python3_INCLUDE_DIRS}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
@ -54,7 +54,7 @@ tde_add_executable( superkaramba AUTOMOC
superkarambasettings.kcfgc themelocale.cpp
input.cpp sklineedit.cpp input_python.cpp
svcgrp_python.cpp
LINK tdeio-shared ${PYTHON_LIBRARIES}
LINK tdeio-shared ${Python3_LIBRARIES}
${TDENEWSTUFF_LIBRARIES}
${LIBKVM_LIBRARIES}
DESTINATION ${BIN_INSTALL_DIR}

Loading…
Cancel
Save