mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
pkg config avoid hardcoded prefix
Signed-off-by: thinkski <chiszp@gmail.com>
This commit is contained in:
parent
efda177e80
commit
dd93a0c416
1 changed files with 1 additions and 1 deletions
|
@ -698,7 +698,7 @@ if (UNIX)
|
|||
# Generate and install pkgconfig.
|
||||
# (This is not indented, because the tabs will be part of the output)
|
||||
file(WRITE ${PROJECT_BINARY_DIR}/libwebsockets.pc
|
||||
"prefix=/usr/local
|
||||
"prefix="${CMAKE_INSTALL_PREFIX}"
|
||||
exec_prefix=\${prefix}
|
||||
libdir=\${exec_prefix}/lib${LIB_SUFFIX}
|
||||
includedir=\${prefix}/include
|
||||
|
|
Loading…
Add table
Reference in a new issue