Manually revert the changes to CMakeLists.txt from commit 40602 - they should not...
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 20 Jan 2012 11:02:15 +0000 (11:02 +0000)
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 20 Jan 2012 11:02:15 +0000 (11:02 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40605 f5534014-38df-0310-8fa8-9805f1628bb7

CMakeLists.txt

index bbbaffa7e944e3982f1cabe90027d6a0135fde35..2c7bc929ed0c79776baf2b3424691b6d586d05b2 100644 (file)
@@ -228,7 +228,7 @@ endif()
 # - set HAVE_XXX
 
 #The minimum package list
-set(PACKAGELIST GLIB2 GMODULE2 GTHREAD2 M LEX YACC Perl SH)
+set(PACKAGELIST GLIB2 GMODULE2 GTHREAD2 M LEX YACC Perl SH PythonInterp)
 set(GLIB2_FIND_REQUIRED)
 set(GLIB2_MIN_VERSION 2.14.0)
 set(GTHREAD2_REQUIRED)
@@ -338,7 +338,7 @@ endforeach()
 #packaging
 include(CPackConfig.txt)
 
-if(PYTHON_FOUND)
+if(HAVE_LIBPYTHON)
        set(HAVE_PYTHON 1)
        set(PYTHON_DIR "${CMAKE_INSTALL_PREFIX}/lib/wireshark/python/${CPACK_PACKAGE_VERSION}")
 endif()