summaryrefslogtreecommitdiffstats
path: root/CMakeScripts/HelperFunctions.cmake
diff options
context:
space:
mode:
authorPatrick Storz <eduard.braun2@gmx.de>2019-06-12 18:11:03 +0000
committerPatrick Storz <eduard.braun2@gmx.de>2019-06-12 19:57:20 +0000
commit34a81f6988701dd1df76b49876ae92ba45428ae4 (patch)
tree776668b9e82aaf78bac617b58f31984f51ae6a60 /CMakeScripts/HelperFunctions.cmake
parentrevert `export-pdf-level` to `export-pdf-version` (diff)
downloadinkscape-34a81f6988701dd1df76b49876ae92ba45428ae4.tar.gz
inkscape-34a81f6988701dd1df76b49876ae92ba45428ae4.zip
Packaging: Switch Windows distribution to Python 3.7
Diffstat (limited to 'CMakeScripts/HelperFunctions.cmake')
-rw-r--r--CMakeScripts/HelperFunctions.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeScripts/HelperFunctions.cmake b/CMakeScripts/HelperFunctions.cmake
index b564f4ef6..791dcbe74 100644
--- a/CMakeScripts/HelperFunctions.cmake
+++ b/CMakeScripts/HelperFunctions.cmake
@@ -101,12 +101,12 @@ endfunction(list_files_pacman)
function(list_files_pip package_name file_list)
# use pip to show package information including full list of files installed by the package
execute_process(
- COMMAND pip show -f ${package_name}
+ COMMAND pip3 show -f ${package_name}
OUTPUT_FILE list_files_pip_temp.txt
RESULT_VARIABLE res
ERROR_VARIABLE err
)
- check_error("${res}" "${err}" "pip show -f ${package_name}")
+ check_error("${res}" "${err}" "pip3 show -f ${package_name}")
# clean up output
execute_process(
@@ -118,7 +118,7 @@ function(list_files_pip package_name file_list)
RESULT_VARIABLE res
ERROR_VARIABLE err
)
- check_error("${res}" "${err}" "Parsing result of 'pip show -f ${package_name}'")
+ check_error("${res}" "${err}" "Parsing result of 'pip3 show -f ${package_name}'")
SET(${file_list} ${out} PARENT_SCOPE)
file(REMOVE ${CMAKE_CURRENT_BINARY_DIR}/list_files_pip_temp.txt)