Paste P289

Masterwork From Distant Lands
ActivePublic

Authored by sitter on Jan 17 2019, 7:51 AM.
diff --git a/cmake/FindPythonCairo.cmake b/cmake/FindPythonCairo.cmake
index dd0a76c..0449ef4 100644
--- a/cmake/FindPythonCairo.cmake
+++ b/cmake/FindPythonCairo.cmake
@@ -7,8 +7,13 @@ else()
endif()
# Check for python cairo
+message("cmd ${PYTHON_EXECUTABLE} -c \"import cairo\"")
execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "import cairo"
- RESULT_VARIABLE PYTHON_CAIRO_RESULT)
+ RESULT_VARIABLE PYTHON_CAIRO_RESULT
+ OUTPUT_VARIABLE OUT
+ ERROR_VARIABLE ERR)
+ message("out ${OUT}")
+ message("ERR ${ERR}")
if (PYTHON_CAIRO_RESULT EQUAL 0)
set(PYTHONCAIRO_FOUND 1)
endif()
sitter edited the content of this paste. (Show Details)Jan 17 2019, 7:51 AM
sitter changed the title of this paste from untitled to Masterwork From Distant Lands.