You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.2 KiB
31 lines
1.2 KiB
7 years ago
|
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/CMakeModules/FindPythonQt.cmake
|
||
|
+++ b/CMakeModules/FindPythonQt.cmake
|
||
|
@@ -24,7 +24,7 @@ string(REGEX REPLACE
|
||
|
)
|
||
|
|
||
|
if(NOT EXISTS "${PYTHONQT_INSTALL_DIR}")
|
||
|
- find_path(PYTHONQT_INSTALL_DIR include/PythonQt/PythonQt.h DOC "Directory where PythonQt was installed.")
|
||
|
+ find_path(PYTHONQT_INSTALL_DIR include/PythonQt5/PythonQt.h DOC "Directory where PythonQt was installed.")
|
||
|
endif()
|
||
|
# XXX Since PythonQt 3.0 is not yet cmakeified, depending
|
||
|
# on how PythonQt is built, headers will not always be
|
||
|
@@ -32,7 +32,7 @@ endif()
|
||
|
# is added as an option. See [1] for more details.
|
||
|
# [1] https://github.com/commontk/CTK/pull/538#issuecomment-86106367
|
||
|
find_path(PYTHONQT_INCLUDE_DIR PythonQt.h
|
||
|
- PATHS "${PYTHONQT_INSTALL_DIR}/include/PythonQt"
|
||
|
+ PATHS "${PYTHONQT_INSTALL_DIR}/include/PythonQt5"
|
||
|
"${PYTHONQT_INSTALL_DIR}/src"
|
||
|
DOC "Path to the PythonQt include directory")
|
||
|
|