File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ if(TARGET Python2::Python AND
23
23
DEBUG_POSTFIX ""
24
24
)
25
25
install (TARGETS imathnumpy_python2
26
- DESTINATION "${CMAKE_INSTALL_BINDIR } /python${Python2_VERSION_MAJOR} .${Python2_VERSION_MINOR} /site-packages"
26
+ DESTINATION "${CMAKE_INSTALL_LIBDIR } /python${Python2_VERSION_MAJOR} .${Python2_VERSION_MINOR} /site-packages"
27
27
)
28
28
endif ()
29
29
@@ -51,6 +51,6 @@ if(TARGET Python3::Python AND
51
51
DEBUG_POSTFIX ""
52
52
)
53
53
install (TARGETS imathnumpy_python3
54
- DESTINATION "${CMAKE_INSTALL_BINDIR } /python${Python3_VERSION_MAJOR} .${Python3_VERSION_MINOR} /site-packages"
54
+ DESTINATION "${CMAKE_INSTALL_LIBDIR } /python${Python3_VERSION_MAJOR} .${Python3_VERSION_MINOR} /site-packages"
55
55
)
56
56
endif ()
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ function(PYIMATH_DEFINE_MODULE modname)
126
126
)
127
127
install (TARGETS ${modname} _python2
128
128
EXPORT ${PROJECT_NAME}
129
- DESTINATION "${CMAKE_INSTALL_BINDIR } /python${Python2_VERSION_MAJOR} .${Python2_VERSION_MINOR} /site-packages"
129
+ DESTINATION "${CMAKE_INSTALL_LIBDIR } /python${Python2_VERSION_MAJOR} .${Python2_VERSION_MINOR} /site-packages"
130
130
)
131
131
endif ()
132
132
else ()
@@ -156,7 +156,7 @@ function(PYIMATH_DEFINE_MODULE modname)
156
156
)
157
157
install (TARGETS ${modname} _python3
158
158
EXPORT ${PROJECT_NAME}
159
- DESTINATION "${CMAKE_INSTALL_BINDIR } /python${Python3_VERSION_MAJOR} .${Python3_VERSION_MINOR} /site-packages"
159
+ DESTINATION "${CMAKE_INSTALL_LIBDIR } /python${Python3_VERSION_MAJOR} .${Python3_VERSION_MINOR} /site-packages"
160
160
)
161
161
endif ()
162
162
endif ()
You can’t perform that action at this time.
0 commit comments