From 3fea77ceedcda59af05110cc085a1e8c6d97c004 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 12 Feb 2021 08:15:09 +1100 Subject: CMake: update MSVC PDB path reference Replace literal number with a variable. --- source/creator/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index e674e665082..c7b940d0012 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -803,13 +803,13 @@ elseif(WIN32) if(WINDOWS_PYTHON_DEBUG) install( - FILES ${LIBDIR}/python/37/libs/python${_PYTHON_VERSION_NO_DOTS}.pdb + FILES ${LIBDIR}/python/${_PYTHON_VERSION_NO_DOTS}/libs/python${_PYTHON_VERSION_NO_DOTS}.pdb DESTINATION "." CONFIGURATIONS Release;RelWithDebInfo;MinSizeRel ) install( - FILES ${LIBDIR}/python/37/libs/python${_PYTHON_VERSION_NO_DOTS}_d.pdb + FILES ${LIBDIR}/python/${_PYTHON_VERSION_NO_DOTS}/libs/python${_PYTHON_VERSION_NO_DOTS}_d.pdb DESTINATION "." CONFIGURATIONS Debug ) -- cgit v1.2.3