Page MenuHomePhabricator | MITK

Since cmake 3.12 FindPythonLibs is deprecated
Open, WishlistPublic


MITK requires python 3, so we should use the new FindPython3:

Also, FindPython3 should probably be called in the associated Config.cmake
Why currently in top level CmakeLists.txt and also other places associated with the new MITK python wrapping? And why is the config file called MITK_PythonLibs_Config.cmake and now, corresponding to the variable MITK_Python_Config.cmake?

Required cmake version will be upgraded to 3.12 in T25420

Event Timeline

neher created this task.Sep 10 2018, 2:41 PM
kislinsk triaged this task as Wishlist priority.Nov 22 2018, 2:20 PM
neher claimed this task.Dec 11 2018, 5:08 PM

If python3 is NOT found, the executable cannot be specified manually since the corresponding cache variable seems to be deleted every time find_package(Python3) is called. Cmake bug?