Blob Blame Raw
--- a/wrapping/src/CMakeLists.orig.txt	2018-03-23 11:05:27.000000000 +0100
+++ b/wrapping/src/CMakeLists.txt	2018-03-24 11:07:54.578700304 +0100
@@ -46,12 +46,12 @@
 string(REGEX MATCH "[Ll]ib.*packages" PYTHON_REL_SITE_ARCH ${PYTHON_SITE_ARCH})
 
 install(TARGETS  "_openmeeg"
-        LIBRARY DESTINATION ${PYTHON_REL_SITE_ARCH}
-        RUNTIME DESTINATION ${PYTHON_REL_SITE_ARCH}
+        LIBRARY DESTINATION ${PYTHON_REL_SITE_ARCH}/openmeeg
+        RUNTIME DESTINATION ${PYTHON_REL_SITE_ARCH}/openmeeg
         PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ)
 
 install(FILES  ${OpenMEEG_BINARY_DIR}/wrapping/src/openmeeg.py
-        DESTINATION ${PYTHON_REL_SITE_ARCH}
+        DESTINATION ${PYTHON_REL_SITE_ARCH}/openmeeg
         PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
 
 # Test Python wrapping