Explorar o código

Print more verbose error in ctkMacroWrapPythonQt

Julien Finet %!s(int64=13) %!d(string=hai) anos
pai
achega
605e28b2fc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      CMake/ctkMacroWrapPythonQt.cmake

+ 1 - 1
CMake/ctkMacroWrapPythonQt.cmake

@@ -93,7 +93,7 @@ else: print 'TRUE'
     )
 
   if(result)
-    message(FATAL_ERROR "reSearchFile - Problem with regex: ${regex}\n${error}")
+    message(FATAL_ERROR "reSearchFile - Problem with regex: ${regex}\n${error}\nPython exe: ${python_exe}\nPython lib path: ${python_library_path}")
   endif()
   set(is_matching ${output} PARENT_SCOPE)
 endfunction()