On 6/17/21 1:53 AM, Joachim Wuttke wrote:
How to write a platform-independent CMake install command
to install a Swig-generated Python module?
The following brings us very close to a solution:
```
execute_process(
COMMAND "${Python3_EXECUTABLE}"
-c "from distutils import sysconfig as s
How to write a platform-independent CMake install command
to install a Swig-generated Python module?
The following brings us very close to a solution:
```
execute_process(
COMMAND "${Python3_EXECUTABLE}"
-c "from distutils import sysconfig as sc;
print(sc.get_python_lib(prefix='',