27 lines
1.6 KiB
Diff
27 lines
1.6 KiB
Diff
diff --git a/src/libcec/cmake/CheckPlatformSupport.cmake b/src/libcec/cmake/CheckPlatformSupport.cmake
|
|
index 1d99bd8..8a5e3d2 100644
|
|
--- a/src/libcec/cmake/CheckPlatformSupport.cmake
|
|
+++ b/src/libcec/cmake/CheckPlatformSupport.cmake
|
|
@@ -280,16 +280,16 @@ else()
|
|
|
|
if (${PYTHON_MAJOR_VERSION} EQUAL 2)
|
|
install(TARGETS ${SWIG_MODULE_cec_REAL_NAME}
|
|
- DESTINATION lib/python${PYTHON_VERSION}/${PYTHON_PKG_DIR}/${PYTHON_LIB_INSTALL_PATH}/cec)
|
|
+ DESTINATION lib${LIB_SUFFIX}/python${PYTHON_VERSION}/${PYTHON_PKG_DIR}/${PYTHON_LIB_INSTALL_PATH}/cec)
|
|
install(FILES ${CMAKE_BINARY_DIR}/src/libcec/cec.py
|
|
- DESTINATION lib/python${PYTHON_VERSION}/${PYTHON_PKG_DIR})
|
|
+ DESTINATION lib${LIB_SUFFIX}/python${PYTHON_VERSION}/${PYTHON_PKG_DIR}/cec)
|
|
install(FILES ${CMAKE_SOURCE_DIR}/src/libcec/cmake/__init__.py
|
|
- DESTINATION lib/python${PYTHON_VERSION}/${PYTHON_PKG_DIR}/cec)
|
|
+ DESTINATION lib${LIB_SUFFIX}/python${PYTHON_VERSION}/${PYTHON_PKG_DIR}/cec)
|
|
else()
|
|
install(TARGETS ${SWIG_MODULE_cec_REAL_NAME}
|
|
- DESTINATION lib/python${PYTHON_VERSION}/${PYTHON_PKG_DIR}/${PYTHON_LIB_INSTALL_PATH})
|
|
+ DESTINATION lib${LIB_SUFFIX}/python${PYTHON_VERSION}/${PYTHON_PKG_DIR}/${PYTHON_LIB_INSTALL_PATH}/cec)
|
|
install(FILES ${CMAKE_BINARY_DIR}/src/libcec/cec.py
|
|
- DESTINATION lib/python${PYTHON_VERSION}/${PYTHON_PKG_DIR})
|
|
+ DESTINATION lib${LIB_SUFFIX}/python${PYTHON_VERSION}/${PYTHON_PKG_DIR}/cec)
|
|
endif()
|
|
endif()
|
|
endif()
|