cpp: Fix CMake config library name for GPGME
authorAndre Heinecke <aheinecke@intevation.de>
Mon, 12 Jun 2017 13:25:33 +0000 (15:25 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Mon, 12 Jun 2017 13:25:33 +0000 (15:25 +0200)
* lang/cpp/src/GpgmeppConfig.cmake.in.in: The link library
is of course also dynamic.

--
GnuPG-Bug-Id: T3181

lang/cpp/src/GpgmeppConfig.cmake.in.in

index 7f42f31..73f5eaa 100644 (file)
@@ -63,7 +63,7 @@ add_library(Gpgmepp SHARED IMPORTED)
 
 set_target_properties(Gpgmepp PROPERTIES
   INTERFACE_INCLUDE_DIRECTORIES "@resolved_includedir@/gpgme++;@resolved_includedir@"
-  INTERFACE_LINK_LIBRARIES "pthread;@resolved_libdir@/libgpgme.so;@LIBASSUAN_LIBS@"
+  INTERFACE_LINK_LIBRARIES "pthread;@resolved_libdir@/libgpgme@libsuffix@;@LIBASSUAN_LIBS@"
   IMPORTED_LOCATION "@resolved_libdir@/libgpgmepp@libsuffix@"
 )