forked from Lainports/opnsense-ports
10 lines
483 B
Text
10 lines
483 B
Text
--- 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
|
|
|