Bug 6448 says the embedded Python stuff does not really work.
[obnox/wireshark/wip.git] / CMakeLists.txt
index 2c7bc929ed0c79776baf2b3424691b6d586d05b2..bbbaffa7e944e3982f1cabe90027d6a0135fde35 100644 (file)
@@ -228,7 +228,7 @@ endif()
 # - set HAVE_XXX
 
 #The minimum package list
-set(PACKAGELIST GLIB2 GMODULE2 GTHREAD2 M LEX YACC Perl SH PythonInterp)
+set(PACKAGELIST GLIB2 GMODULE2 GTHREAD2 M LEX YACC Perl SH)
 set(GLIB2_FIND_REQUIRED)
 set(GLIB2_MIN_VERSION 2.14.0)
 set(GTHREAD2_REQUIRED)
@@ -338,7 +338,7 @@ endforeach()
 #packaging
 include(CPackConfig.txt)
 
-if(HAVE_LIBPYTHON)
+if(PYTHON_FOUND)
        set(HAVE_PYTHON 1)
        set(PYTHON_DIR "${CMAKE_INSTALL_PREFIX}/lib/wireshark/python/${CPACK_PACKAGE_VERSION}")
 endif()