mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-06 08:46:53 +08:00
Apply patch (and rearrange a directory) from emarcotte for pkgconfig support
This commit is contained in:
parent
906140ec78
commit
91c05f0e73
@ -176,3 +176,7 @@ install(DIRECTORY samples DESTINATION share/chaiscript
|
|||||||
PATTERN "*/.svn*" EXCLUDE)
|
PATTERN "*/.svn*" EXCLUDE)
|
||||||
|
|
||||||
|
|
||||||
|
configure_file(contrib/pkgconfig/chaiscript.pc.in lib/pkgconfig/chaiscript.pc @ONLY)
|
||||||
|
install(FILES "${chaiscript_BINARY_DIR}/lib/pkgconfig/chaiscript.pc"
|
||||||
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig)
|
||||||
|
|
||||||
|
|||||||
12
contrib/pkgconfig/chaiscript.pc.in
Normal file
12
contrib/pkgconfig/chaiscript.pc.in
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
prefix=@CMAKE_INSTALL_PREFIX@
|
||||||
|
exec_prefix=${prefix}
|
||||||
|
libdir=${exec_prefix}/lib
|
||||||
|
includedir=${prefix}/include
|
||||||
|
|
||||||
|
Name: chaiscript
|
||||||
|
Description: ChaiScript is a scripting language that easily embeds into your existing C++ applications. It's built to be flexible and dynamic, yet still maintain the type-safety you expect as a C++ user. It can natively use classes, methods, and attributes, even if the class inherits functionality from a parent class.
|
||||||
|
Version: @CPACK_PACKAGE_VERSION_MAJOR@.@CPACK_PACKAGE_VERSION_MINOR@.@CPACK_PACKAGE_VERSION_PATCH@
|
||||||
|
Requires:
|
||||||
|
Conflicts:
|
||||||
|
Libs:
|
||||||
|
Cflags: -I${includedir}
|
||||||
Loading…
x
Reference in New Issue
Block a user