Skip to content

Commit

Permalink
Makefile: Add includedir to pkg-config
Browse files Browse the repository at this point in the history
  • Loading branch information
oschuett committed Oct 12, 2021
1 parent 6c79ea3 commit 6ba77da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ pkgconfig: dirs
@echo "Description: CP2K as a library" >> $(PKGCONFIG)
@echo "URL: https://www.cp2k.org" >> $(PKGCONFIG)
@echo "Version: $(REVISION)" >> $(PKGCONFIG)
@echo "includedir=$(SRCDIR)/start" >> $(PKGCONFIG)
@echo "Cflags: -I\$${includedir}" >> $(PKGCONFIG)
@echo "libdir=$(LIBDIR)" >> $(PKGCONFIG)
@echo "Libs: -L\$${libdir} -Wl,-rpath=\$${libdir} -lcp2k $(LDFLAGS) $(LIBS)" >> $(PKGCONFIG)

Expand Down

0 comments on commit 6ba77da

Please sign in to comment.