diff options
Diffstat (limited to 'chinese/libchewing/files/patch-CMakeLists.txt')
-rw-r--r-- | chinese/libchewing/files/patch-CMakeLists.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/chinese/libchewing/files/patch-CMakeLists.txt b/chinese/libchewing/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..05e78f66c6be --- /dev/null +++ b/chinese/libchewing/files/patch-CMakeLists.txt @@ -0,0 +1,17 @@ +--- CMakeLists.txt.orig 2015-02-08 15:09:15 UTC ++++ CMakeLists.txt +@@ -103,6 +103,7 @@ set(TEST_BIN_DIR ${PROJECT_BINARY_DIR}/t + + set(INSTALL_INC_DIR ${CMAKE_INSTALL_PREFIX}/include/chewing) + set(INSTALL_LIB_DIR ${CMAKE_INSTALL_PREFIX}/lib) ++set(INSTALL_LIBDATA_DIR ${CMAKE_INSTALL_PREFIX}/libdata) + set(INSTALL_DATA_DIR ${CMAKE_INSTALL_PREFIX}/share/libchewing) + set(INSTALL_INFO_DIR ${CMAKE_INSTALL_PREFIX}/share/info) + +@@ -428,5 +429,5 @@ install(FILES ${ALL_DATA} DESTINATION ${ + install(FILES ${ALL_STATIC_DATA} DESTINATION ${INSTALL_DATA_DIR}) + install(FILES ${ALL_INC} DESTINATION ${INSTALL_INC_DIR}) + install(FILES ${PROJECT_BINARY_DIR}/chewing.pc +- DESTINATION ${INSTALL_LIB_DIR}/pkgconfig) ++ DESTINATION ${INSTALL_LIBDATA_DIR}/pkgconfig) + install(TARGETS ${LIBS} DESTINATION ${INSTALL_LIB_DIR}) |