Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modified jansson.pc generating releated Cmake var from path to string #634

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shouhuanxiaoji
Copy link

modified type of JANSSON_INSTALL_LIB_DIR/JANSSON_INSTALL_BIN_DIR/JANSSON_INSTALL_INCLUDE_DIR to string

if they were path, there will be a awkward situation:
I expect to set the setting of .pc to (for Fedora rpm package) :

prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib64
includedir=${prefix}/include

Name: Jansson
Description: Library for encoding, decoding and manipulating JSON data
Version: 2.13.1
Libs: -L${libdir} -ljansson
Cflags: -I${includedir}

but we cannot set JANSSON_INSTALL_LIB_DIR to "lib64" because its type is path, so I will get like "${exec_prefix}//builddir/build/SOURCES/jansson-2.13.1/build/lib64"

modified type of JANSSON_INSTALL_LIB_DIR/JANSSON_INSTALL_BIN_DIR/JANSSON_INSTALL_INCLUDE_DIR to string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant