aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-11-07 00:09:29 +0000
committerStephen Kelly <steveire@gmail.com>2016-11-07 00:10:46 +0000
commitafe78a3b46187aba589ba35ebe049925a75f14e9 (patch)
treec4ee7488899a487c2bb649e045b3d8f7016164c8
parent632b8868de38e2f85fb4969bcae3dd89a2a0695c (diff)
downloadextra-cmake-modules-afe78a3b46187aba589ba35ebe049925a75f14e9.tar.gz
extra-cmake-modules-afe78a3b46187aba589ba35ebe049925a75f14e9.tar.bz2
Print path to Qtcoremod.sip file if there is a problem
-rw-r--r--find-modules/FindPythonModuleGeneration.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/find-modules/FindPythonModuleGeneration.cmake b/find-modules/FindPythonModuleGeneration.cmake
index ef47fed2..0a857a24 100644
--- a/find-modules/FindPythonModuleGeneration.cmake
+++ b/find-modules/FindPythonModuleGeneration.cmake
@@ -231,7 +231,7 @@ set(GPB_Qt5_Tag Qt_5_${Qt5Core_VERSION_MINOR}_${Qt5Core_VERSION_PATCH})
list(FIND _SIP_Qt5_VERSIONS ${GPB_Qt5_Tag} _SIP_Qt5_Version_Index)
if(_SIP_Qt5_Version_Index EQUAL -1)
- _report_NOT_FOUND("PyQt module does not support Qt version 5.${Qt5Core_VERSION_MINOR}.${Qt5Core_VERSION_PATCH} for the ${CMAKE_FIND_PACKAGE_NAME} Module. Found available Qt5 tags: \"${_SIP_Qt5_VERSIONS}\".")
+ _report_NOT_FOUND("PyQt module \"${SIP_Qt5Core_Mod_FILE}\" does not support Qt version 5.${Qt5Core_VERSION_MINOR}.${Qt5Core_VERSION_PATCH} for the ${CMAKE_FIND_PACKAGE_NAME} Module. Found available Qt5 tags: \"${_SIP_Qt5_VERSIONS}\".")
endif()
set(PythonModuleGeneration_FOUND TRUE)