source: calamares/trunk/fuentes/debian/patches/0002-Add-patch-to-compile-with-pythonQt.patch @ 7538

Last change on this file since 7538 was 7538, checked in by kbut, 13 months ago

sync with github

File size: 1.2 KB
  • CMakeModules/FindPythonQt.cmake

    From: Raul Rodrigo Segura <raurodse@gmail.com>
    Date: Thu, 14 Jun 2018 23:21:30 +0200
    Subject: Add patch to compile with pythonQt
    
    ---
     CMakeModules/FindPythonQt.cmake | 4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/CMakeModules/FindPythonQt.cmake b/CMakeModules/FindPythonQt.cmake
    index f0f4b8a..23e61d3 100644
    a b string(REGEX REPLACE 
    2424)
    2525
    2626if(NOT EXISTS "${PYTHONQT_INSTALL_DIR}")
    27   find_path(PYTHONQT_INSTALL_DIR include/PythonQt/PythonQt.h DOC "Directory where PythonQt was installed.")
     27  find_path(PYTHONQT_INSTALL_DIR include/PythonQt5/PythonQt.h DOC "Directory where PythonQt was installed.")
    2828endif()
    2929# XXX Since PythonQt 3.0 is not yet cmakeified, depending
    3030#     on how PythonQt is built, headers will not always be
    endif() 
    3232#     is added as an option. See [1] for more details.
    3333#     [1] https://github.com/commontk/CTK/pull/538#issuecomment-86106367
    3434find_path(PYTHONQT_INCLUDE_DIR PythonQt.h
    35   PATHS "${PYTHONQT_INSTALL_DIR}/include/PythonQt"
     35  PATHS "${PYTHONQT_INSTALL_DIR}/include/PythonQt5"
    3636        "${PYTHONQT_INSTALL_DIR}/src"
    3737  DOC "Path to the PythonQt include directory")
    3838
Note: See TracBrowser for help on using the repository browser.