summaryrefslogtreecommitdiff
path: root/devel/rpclib/files/patch-CMakeLists.txt
blob: 8defd8713bc0330ce1381f9e59b01ca44e909b23 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- CMakeLists.txt.orig	2022-02-03 18:37:01 UTC
+++ CMakeLists.txt
@@ -252,6 +252,7 @@ if(NOT MSVC)  # Don't install pkg-config files when bu
   set(libdir "${CMAKE_INSTALL_PREFIX}/lib")
   set(includedir "${CMAKE_INSTALL_PREFIX}/include")
   set(rpclib_version ${PROJECT_VERSION})
+  set(OUTPUT_LIBRARY_NAME ${PROJECT_NAME})
   get_target_property(rpclib_cflags ${PROJECT_NAME} COMPILE_OPTIONS)
   string(REPLACE ";" " " rpclib_cflags "${rpclib_cflags}") # Convert list to string