We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f84b05 commit 9f677bfCopy full SHA for 9f677bf
python/CMakeLists.txt
@@ -22,6 +22,9 @@ if(USE_SYSTEM_PATHS_FOR_PYTHON_INSTALLATION)
22
23
if(USE_DIST_PACKAGES_FOR_PYTHON)
24
string(REPLACE "site-packages" "dist-packages" GZ_PYTHON_INSTALL_PATH ${Python3_SITEARCH})
25
+ else()
26
+ # custom cmake command is returning dist-packages
27
+ string(REPLACE "dist-packages" "site-packages" GZ_PYTHON_INSTALL_PATH ${Python3_SITEARCH})
28
endif()
29
else()
30
# If not a system installation, respect local paths
0 commit comments