File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed
Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -161,9 +161,6 @@ endif ()
161161# ----------------------------------
162162# Package config (.pc file) generation
163163# ----------------------------------
164-
165- set (prefix ${CMAKE_INSTALL_PREFIX} )
166- set (libdir ${CMAKE_INSTALL_LIBDIR} )
167164set (version ${PROJECT_VERSION} )
168165
169166# Configure the .pc file
Original file line number Diff line number Diff line change 1- prefix=@prefix@
1+ prefix=${pcfiledir}/../..
22
33# cpp-pinyin pkg-config file
44
5- exec_prefix=@ prefix@ /bin
6- libdir=@ prefix@ /lib
7- includedir=@ prefix@ /include
5+ exec_prefix=${ prefix} /bin
6+ libdir=${ prefix} /lib
7+ includedir=${ prefix} /include
88
9- dictdir=@ prefix@ /share/cpp-pinyin/dict
9+ dictdir=${ prefix} /share/cpp-pinyin/dict
1010
1111Name: cpp-pinyin
1212Description: A lightweight Chinese/Cantonese to Pinyin library.
You can’t perform that action at this time.
0 commit comments