Update bld.bat with PY_VER_NO_DOT
@@ -10,7 +10,9 @@ if %PY3K% equ 1 (
mkdir "%SRC_DIR%"\build
pushd "%SRC_DIR%"\build
-cmake -DCMAKE_BUILD_TYPE=Release -DPYTHON_INCLUDE_DIR=%PREFIX%\include\python%PYTHON_VERSION%\ -DPYTHON_LIBRARY=%PREFIX%\lib\python%PYTHON_VERSION%\libpython%PYTHON_VERSION%.dll -DCMAKE_PREFIX_PATH=%PREFIX% -DCMAKE_INSTALL_PREFIX="%LIBRARY_PREFIX%" %BUILD_PYTHON%" -G "Ninja" ..
+set PY_VER_NO_DOT=%PY_VER:.=%
+
+cmake -DCMAKE_BUILD_TYPE=Release -DPYTHON_LIBRARY="%PREFIX%\libs\python%PY_VER_NO_DOT%.lib" -DPYTHON_INCLUDE_DIR="%PREFIX%\include" -DCMAKE_PREFIX_PATH="%LIBRARY_PREFIX%" -DCMAKE_INSTALL_PREFIX="%LIBRARY_PREFIX%" %BUILD_PYTHON%" -G "Ninja" ..
ninja
ninja install
