On 2021-10-16 Bruno Postle <br...@postle.net> wrote:
[...]
> * General clean-up of the build system, removal of the autotools build system,
>    CMake is now the default
[...]

Hello,
libdir is set to an empty vlue in the generated pkgconfig file. Attached
patch works for me.

cu Andreas

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/YXfy73hhBk20dai4%40argenau.bebt.de.
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -390,10 +390,11 @@
 
 
 # set some variables which are used in libpano13.pc.in
 set(prefix ${CMAKE_INSTALL_PREFIX})
 set(exec_prefix ${CMAKE_INSTALL_PREFIX})
+set(cmake_install_libdir ${CMAKE_INSTALL_LIBDIR})
 set(includedir ${CMAKE_INSTALL_PREFIX}/include)
 set(LIB_JPEG ${JPEG_LIBRARY})
 set(LIB_TIFF ${TIFF_LIBRARY})
 set(LIB_ZLIB ${ZLIB_LIBRARY})
 set(LIB_PNG ${PNG_LIBRARY})
--- a/libpano13.pc.in
+++ b/libpano13.pc.in
@@ -9,11 +9,11 @@
 # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
 # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
 prefix=@prefix@
 exec_prefix=@exec_prefix@
-libdir=@libdir@
+libdir=@prefix@/@cmake_install_libdir@
 includedir=@includedir@
 
 Name: libpano13
 Description: cross-platform library behind Panorama Tools and many other GUI 
photo stitchers
 URL: http://sourceforge.net/projects/panotools/

Reply via email to