mirror of
https://github.com/linuxdeepin/gio-qt.git
synced 2024-12-26 15:06:08 +01:00
fix: pkg-config support and shared library
This commit is contained in:
parent
69e8cc951c
commit
7f2c15340c
2 changed files with 4 additions and 5 deletions
|
@ -25,7 +25,7 @@ set (QGIO_PRIVATE_CPP_FILES
|
||||||
)
|
)
|
||||||
|
|
||||||
# Library
|
# Library
|
||||||
add_library (gio-qt STATIC
|
add_library (gio-qt SHARED
|
||||||
${QGIO_PUBLIC_HEADER_FILES}
|
${QGIO_PUBLIC_HEADER_FILES}
|
||||||
${QGIO_PRIVATE_CPP_FILES}
|
${QGIO_PRIVATE_CPP_FILES}
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,12 +1,11 @@
|
||||||
prefix=@DEST_DIR@
|
prefix=@DEST_DIR@
|
||||||
exec_prefix=${prefix}
|
|
||||||
libdir=${prefix}/lib
|
libdir=${prefix}/lib
|
||||||
includedir=${prefix}/include
|
includedir=${prefix}/include
|
||||||
|
|
||||||
Name: gio-qt
|
Name: gio-qt
|
||||||
Description: Qt wrapper library for GIO.
|
Description: Qt wrapper library for GIO.
|
||||||
Version: 1.0
|
Version: 0.1.0
|
||||||
Requires: glibmm-2.4
|
Requires: glibmm-2.4, Qt5Core
|
||||||
|
|
||||||
Libs: -L${libdir} -lgio-qt
|
Libs: -L${libdir} -lgio-qt
|
||||||
Cflags: -I${includedir} -I{includedir}/gio-qt
|
Cflags: -I${includedir} -I${includedir}/gio-qt
|
Loading…
Reference in a new issue