Open podsvirov opened 3 years ago
Does #186 make this unnecessary?
These changes are not directly related to the #186. These changes solve the problem of hard-coded absolute installation path for the python module. Absolute install paths add additional problems when creating packages for distribution (in this case, it becomes necessary to install to a path other than the default).
Added
CMAKE_INSTALL_PYLIBDIR
cached variable. Default value retrivet fromPython3_EXECUTABLE
.Current install destination
Python3_SITELIB
(absolute path fromFindPython3
module). An absolute path is not acceptable when creating an installation package.