12 lines
400 B
Diff
12 lines
400 B
Diff
--- a/python/CMakeLists.txt
|
|
+++ b/python/CMakeLists.txt
|
|
@@ -17,7 +17,7 @@
|
|
set(_python_module_install_dir "avogadro")
|
|
# SKBUILD is set for binary wheel
|
|
if (NOT SKBUILD)
|
|
- set(_python_module_install_dir "${Python_SITEARCH}/avogadro")
|
|
+ set(_python_module_install_dir "lib/python${Python_VERSION_MAJOR}.${Python_VERSION_MINOR}/site-packages/avogadro")
|
|
endif()
|
|
|
|
set(CMAKE_MODULE_LINKER_FLAGS "")
|