Add libboinc_opencl.pc pkg-config file

This commit is contained in:
Anna “CyberTailor” 2021-11-10 00:20:36 +05:00
parent eff6149c3e
commit 9fcaf6786d
No known key found for this signature in database
GPG Key ID: E7B76EDC50864BB1
3 changed files with 15 additions and 0 deletions

View File

@ -55,6 +55,7 @@ libboinc_graphics2_la_LDFLAGS = -version-number $(LIBBOINC_VERSION) -ljpeg
endif #BUILD_GRAPHICS_API
lib_LTLIBRARIES += libboinc_opencl.la
pkgconfig_DATA += libboinc_opencl.pc
libboinc_opencl_la_SOURCES = $(opencl_files)
libboinc_opencl_la_LDFLAGS = -version-number $(LIBBOINC_VERSION)

13
api/libboinc_opencl.pc.in Normal file
View File

@ -0,0 +1,13 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: boinc_opencl
Description: BOINC OpenCL API
Version: @PACKAGE_VERSION@
URL: https://boinc.berkeley.edu/trac/wiki/OpenclApps
Cflags: -I${includedir}/boinc
Cflags.private: @GLUT_CFLAGS@
Libs: -L${libdir} -lboinc_opencl

View File

@ -1340,6 +1340,7 @@ AC_CONFIG_FILES([
api/Makefile
api/libboinc_api.pc
api/libboinc_graphics2.pc
api/libboinc_opencl.pc
apps/Makefile
clientgui/Makefile
clientgui/res/Makefile