- replace weird distinction between 3.0 and 3.2 by searching once
- prefer 3.2
- also look for suffixed versions (PythonXY) besides the Python3 suffix
FIXES#857
find_library(PYTHONQT_QTALL_LIBRARY_RELEASEPythonQt_QtAllPATHS"${PYTHONQT_INSTALL_DIR}/lib"DOC"Full Qt bindings for the PythonQt library.")
find_library(PYTHONQT_QTALL_LIBRARY_DEBUGNAMESPythonQt_QtAll${CTK_CMAKE_DEBUG_POSTFIX}PythonQt_QtAll${CMAKE_DEBUG_POSTFIX}PythonQt_QtAllPATHS"${PYTHONQT_INSTALL_DIR}/lib"DOC"Full Qt bindings for the PythonQt library.")
if(NOTPythonQt_FIND_QUIETLY)
message(STATUS"Searching for PythonQt (Python ${PYTHONLIBS_MAJMIN}) ..")
if(PYTHONQT_INCLUDE_DIR)
message(STATUS" .. found include ${PYTHONQT_INCLUDE_DIR}")
find_library(PYTHONQT_QTALL_LIBRARY_RELEASEPythonQt_QtAll-Qt5-Python3PATHS"${PYTHONQT_INSTALL_DIR}/lib"DOC"Full Qt bindings for the PythonQt library.")
find_library(PYTHONQT_QTALL_LIBRARY_DEBUGNAMESPythonQt_QtAll-Qt5-Python3${CTK_CMAKE_DEBUG_POSTFIX}PythonQt_QtAll-Qt5-Python3${CMAKE_DEBUG_POSTFIX}PythonQt_QtAll-Qt5-Python3PATHS"${PYTHONQT_INSTALL_DIR}/lib"DOC"Full Qt bindings for the PythonQt library.")