Skip to content

Commit

Permalink
Make wannier90.pc more relocatable
Browse files Browse the repository at this point in the history
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
  • Loading branch information
LecrisUT committed Jun 11, 2024
1 parent 9e992d2 commit ef03aef
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions cmake/wannier90.pc.in
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
prefix: @CMAKE_INSTALL_PREFIX@
libdir: ${prefix}/@CMAKE_INSTALL_LIBDIR@
includedir: ${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
moduledir: ${prefix}/@CMAKE_INSTALL_MODULEDIR@/Wannier90

Name: wannier
Version: @PROJECT_VERSION@
Description: @PROJECT_DESCRIPTION@
URL: @PROJECT_HOMEPAGE_URL@

Cflags: -I@CMAKE_INSTALL_FULL_MODULEDIR@ -I@CMAKE_INSTALL_FULL_INCLUDEDIR@
Libs: -L@CMAKE_INSTALL_FULL_LIBDIR@ -lwannier90
Cflags: -I${moduledir} -I${includedir}
Libs: -L${libdir} -lwannier90

0 comments on commit ef03aef

Please sign in to comment.