]> granicus.if.org Git - libevent/commitdiff
cmake: fix pkgconfig generation (copy-paste typo)
authorAzat Khuzhin <a3at.mail@gmail.com>
Mon, 13 Mar 2017 18:40:52 +0000 (21:40 +0300)
committerAzat Khuzhin <azat@libevent.org>
Sat, 2 Feb 2019 12:13:49 +0000 (15:13 +0300)
(cherry picked from commit 882f537c409d9c51ede581a3e13de7519227edb7)

cmake/AddEventLibrary.cmake

index 8cf72d2467967cf7f8871d1d1b10f15af58fb347..23a8d4ca89fb459e628ca5261a253cfd83e57e30 100644 (file)
@@ -25,12 +25,12 @@ macro(generate_pkgconfig LIB_NAME)
 
     set(LIBS         "")
     foreach (LIB ${LIB_PLATFORM})
-        set(OPENSSL_LIBS "${LIBS} -L${LIB}")
+        set(LIBS "${LIBS} -L${LIB}")
     endforeach()
 
     set(OPENSSL_LIBS "")
     foreach(LIB ${OPENSSL_LIBRARIES})
-        set(OPENSSL_LIBS "${LIBS} -L${LIB}")
+        set(OPENSSL_LIBS "${OPENSSL_LIBS} -L${LIB}")
     endforeach()
 
     configure_file("lib${LIB_NAME}.pc.in" "lib${LIB_NAME}.pc" @ONLY)