diff options
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 148884c..01e91ae 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -206,9 +206,9 @@ 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 ) + if( NOT PYTHONLIBS_FOUND OR "${PYTHONLIBS_VERSION_STRING}" LESS "3" ) + tde_message_fatal( "Python3 is required, but was not found on your system" ) + endif( ) if( WITH_TDENEWSTUFF ) set( HAVE_TDENEWSTUFF 1 ) |