summaryrefslogtreecommitdiff
path: root/chinese/libgooglepinyin/files/patch-data_CMakeLists.txt
blob: 77acc759b581b7795337195ddc466beabe4e9573 (plain)
1
2
3
4
5
6
7
8
9
10
--- data/CMakeLists.txt~	2012-02-03 02:20:17.000000000 -0600
+++ data/CMakeLists.txt	2012-02-06 01:57:14.709943289 -0600
@@ -14,5 +14,5 @@ add_custom_command(OUTPUT dict_pinyin.da
 add_custom_target(datafile ALL DEPENDS dict_pinyin.dat)
 
 configure_file(googlepinyin.pc.in ${CMAKE_CURRENT_BINARY_DIR}/googlepinyin.pc)
-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/dict_pinyin.dat DESTINATION ${libdir}/googlepinyin/data)
-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/googlepinyin.pc DESTINATION ${libdir}/pkgconfig)
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/dict_pinyin.dat DESTINATION ${datadir}/googlepinyin)
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/googlepinyin.pc DESTINATION ${prefix}/libdata/pkgconfig)