Ticket #24503: patch-CMakeLists.txt.diff
File patch-CMakeLists.txt.diff, 675 bytes (added by stromnov (Andrey Stromnov), 15 years ago) |
---|
-
CMakeLists.txt
old new 468 468 string(REGEX MATCH "[0-9].[0-9]" PYTHON_VERSION_MAJOR_MINOR "${PYTHON_VERSION_FULL}") 469 469 if(UNIX) 470 470 set(PYTHON_PLUGIN_INSTALL_PATH lib/python${PYTHON_VERSION_MAJOR_MINOR}/site-packages/opencv) 471 set(PYTHON_PACKAGES_PATH lib/python${PYTHON_VERSION_MAJOR_MINOR}/site-packages)471 set(PYTHON_PACKAGES_PATH @@PYTHON_PKGD@@) 472 472 endif() 473 473 if(WIN32) 474 474 get_filename_component(PYTHON_PATH "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\${PYTHON_VERSION_MAJOR_MINOR}\\InstallPath]" ABSOLUTE CACHE)