Skip to content

Commit aaeeca6

Browse files
committed
Fix Windows Maya python linking
1 parent ec4bcec commit aaeeca6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,10 @@ elseif("$ENV{AR_DCC_NAME}" STREQUAL "MAYA")
175175
set(AR_PYTHON_ROOT $ENV{PYTHON_ROOT} CACHE PATH "Python install directory")
176176
if (WIN32)
177177
if(EXISTS "${AR_PYTHON_ROOT}/python311.dll")
178-
set(AR_PYTHON_LIB python3.11)
178+
set(AR_PYTHON_LIB python311)
179179
set(AR_PYTHON_LIB_NUMBER python311)
180180
elseif(EXISTS "${AR_MAYA_USD_SDK_LIB_DIR}/python310.dll")
181-
set(AR_PYTHON_LIB python3.10)
181+
set(AR_PYTHON_LIB python310)
182182
set(AR_PYTHON_LIB_NUMBER python310)
183183
else()
184184
message(FATAL_ERROR "Failed to find a compatible Python version.")

0 commit comments

Comments
 (0)