diff --git a/cMake/FreeCadMacros.cmake b/cMake/FreeCadMacros.cmake index 3b92f6d73b..4fbc86bf8e 100644 --- a/cMake/FreeCadMacros.cmake +++ b/cMake/FreeCadMacros.cmake @@ -266,8 +266,8 @@ ENDMACRO(SET_PYTHON_PREFIX_SUFFIX) # Locate the include directory for a pip-installed package -- uses pip show to find the base pip # install directory, and then appends the package name and "/include" to the end macro(find_pip_package PACKAGE) - unset(${PACKAGE}_FOUND) # Remove from local scope - unset(${PACKAGE}_FOUND CACHE) # Remove from CMake cache (if it exists) + unset(${PACKAGE}_FOUND) # Remove from local scope + unset(${PACKAGE}_FOUND CACHE) # Remove from CMake cache (if it exists) execute_process( COMMAND ${Python3_EXECUTABLE} -m pip show ${PACKAGE} RESULT_VARIABLE FAILURE