- include GNUInstallDirs into CMakeLists.txt and use CMAKE_INSTALL_FULL_LIBDIR variable in pkgconfig file to set corret library path also on Tumbleweed OBS-URL: https://build.opensuse.org/request/show/880749 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cld2?expand=0&rev=13
12 lines
274 B
PkgConfig
12 lines
274 B
PkgConfig
prefix=@CMAKE_INSTALL_PREFIX@
|
|
exec_prefix=${prefix}
|
|
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
|
|
includedir=${prefix}/include
|
|
|
|
Name: cld2
|
|
Description: Compact Language Detector 2
|
|
URL: https://github.com/CLD2Owners/cld2
|
|
Version: 2
|
|
Libs: -L${libdir} -lcld2_full
|
|
Cflags: -I${includedir}
|