summarylogtreecommitdiffstats
path: root/0001-fix-install-dir.patch
blob: 069164429eada3c6f540c4accfd11a69b2d94cb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/RobWork/cmake/RobWorkMacros.cmake b/RobWork/cmake/RobWorkMacros.cmake
index de842afbf..b29fddee1 100644
--- a/RobWork/cmake/RobWorkMacros.cmake
+++ b/RobWork/cmake/RobWorkMacros.cmake
@@ -398,6 +398,8 @@ macro(RW_SET_INSTALL_DIRS PROJECT_NAME PREFIX)
         set(PYTHON_INSTALL_DIR "${LIB_INSTALL_DIR}/RobWork/Python")
     endif()
 
+    set(PYTHON_INSTALL_DIR "$ENV{pkgdir}${PYTHON_INSTALL_DIR}")
+ 
     if(WIN32)
         set(
             ${PREFIX}_INSTALL_DIR