cmake: remove set_lib_path macro
[blender.git] / source / creator / CMakeLists.txt
index 7c744d10d63a9d7c0879bd86203ac596683106d0..8ff4ec445ea2e755239a9c830943a005bb72d37e 100644 (file)
@@ -488,18 +488,16 @@ elseif(WIN32)
        )
 
        if(WITH_PYTHON)
-               set_lib_path(PYLIB "python")
-
                string(REPLACE "." "" _PYTHON_VERSION_NO_DOTS ${PYTHON_VERSION})
 
                install(
-                       FILES ${PYLIB}/lib/python${_PYTHON_VERSION_NO_DOTS}.dll
+                       FILES ${LIBDIR}/python/lib/python${_PYTHON_VERSION_NO_DOTS}.dll
                        DESTINATION ${TARGETDIR}
                        CONFIGURATIONS Release;RelWithDebInfo;MinSizeRel
                )
 
                install(
-                       FILES ${PYLIB}/lib/python${_PYTHON_VERSION_NO_DOTS}_d.dll
+                       FILES ${LIBDIR}/python/lib/python${_PYTHON_VERSION_NO_DOTS}_d.dll
                        DESTINATION ${TARGETDIR}
                        CONFIGURATIONS Debug
                )