aboutsummaryrefslogtreecommitdiffstats
path: root/sources
diff options
context:
space:
mode:
Diffstat (limited to 'sources')
-rw-r--r--sources/pyside6/doc/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/sources/pyside6/doc/CMakeLists.txt b/sources/pyside6/doc/CMakeLists.txt
index a7639b8e6..37c895cad 100644
--- a/sources/pyside6/doc/CMakeLists.txt
+++ b/sources/pyside6/doc/CMakeLists.txt
@@ -102,10 +102,8 @@ if (FULLDOCSBUILD)
execute_process(COMMAND ${PYTHON_EXECUTABLE} ${SNIPPETS_TOOL}
--qt ${QT_SRC_DIR}/.. --pyside ${PYSIDE_ROOT} -w
WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}
- ERROR_VARIABLE SNIPPETS_ERROR
RESULT_VARIABLE SNIPPETS_RESULT)
- # SNIPPETS_ERROR might be empty and SNIPPET_RESULT might contain "permission denied"
- if (SNIPPETS_ERROR OR SNIPPETS_RESULT)
+ if (SNIPPETS_RESULT)
message(FATAL_ERROR
"The 'snippets_translate' tool failed: ${SNIPPETS_ERROR} ${SNIPPET_RESULT}")
endif()