9e8c6c99b6
If a target is linked against libraries with cmake (target_link_libraries) and the libraries are not marked as PRIVATE they are "exported" and in case a other target is linked against this target it is also linked against *all* (not private) libraries. Without declaring private libraries PRIVATE a lot of over linking (linking against unneeded libraries) was done.
16 lines
389 B
PkgConfig
16 lines
389 B
PkgConfig
prefix=@CMAKE_INSTALL_PREFIX@
|
|
exec_prefix=@CMAKE_INSTALL_PREFIX@
|
|
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
|
|
includedir=${prefix}/@WINPR_INCLUDE_DIR@
|
|
libs=-lwinpr
|
|
|
|
Name: WinPR
|
|
Description: WinPR: Windows Portable Runtime
|
|
URL: http://www.freerdp.com/
|
|
Version: @WINPR_VERSION@
|
|
Requires:
|
|
Requires.private: libssl
|
|
Libs: -L${libdir} ${libs}
|
|
Libs.private: -ldl -lrt -lm -lpthread
|
|
Cflags: -I${includedir}
|