diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake index dcae779b40b..5acb3bd13c5 100644 --- a/build_files/cmake/macros.cmake +++ b/build_files/cmake/macros.cmake @@ -1319,7 +1319,7 @@ function(find_python_package "'${PYTHON_LIBPATH}/python${PYTHON_VERSION}/vendor-packages/${package}', " "'${PYTHON_LIBPATH}/python${_PY_VER_MAJOR}/vendor-packages/${package}', " "\n" - "The 'WITH_PYTHON_INSTALL_${_upper_package}' ""option will be ignored " + "The 'WITH_PYTHON_INSTALL_${_upper_package}' option will be ignored " "when installing Python.\n" "The build will be usable, only add-ons that depend on this package won't be functional." ) diff --git a/build_files/cmake/platform/platform_win32.cmake b/build_files/cmake/platform/platform_win32.cmake index 49bba446bb8..53109a31cbd 100644 --- a/build_files/cmake/platform/platform_win32.cmake +++ b/build_files/cmake/platform/platform_win32.cmake @@ -518,7 +518,7 @@ if(WITH_JACK) endif() set(_PYTHON_VERSION "3.10") -string(REPLACE "." "" _PYTHON_VERSION_NO_DOTS ${PYTHON_VERSION}) +string(REPLACE "." "" _PYTHON_VERSION_NO_DOTS ${_PYTHON_VERSION}) # Python executable is needed as part of the build-process, # note that building without Python is quite unusual. set(PYTHON_EXECUTABLE ${LIBDIR}/python/${_PYTHON_VERSION_NO_DOTS}/bin/python$<$:_d>.exe)