summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorMario Emmenlauer <memmenlauer@biodataanalysis.de>2020-11-19 15:19:23 +0100
committerMario Emmenlauer <memmenlauer@biodataanalysis.de>2021-02-12 11:10:15 +0100
commit7553fc5d52b75af8e1b2b3c5f1807bdf24868f2b (patch)
tree43915140c336434bf210dee8f36f2fc5db03924b /build
parent0db67ab7511748c3bfc33dcf186366518cb7cc32 (diff)
downloadthrift-7553fc5d52b75af8e1b2b3c5f1807bdf24868f2b.tar.gz
CMake: Pass linker dependencies transitively to downstream projects
Diffstat (limited to 'build')
-rw-r--r--build/cmake/ThriftMacros.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/cmake/ThriftMacros.cmake b/build/cmake/ThriftMacros.cmake
index 038651eea..392b96bc0 100644
--- a/build/cmake/ThriftMacros.cmake
+++ b/build/cmake/ThriftMacros.cmake
@@ -54,8 +54,8 @@ macro(TARGET_LINK_LIBRARIES_THRIFT name)
target_link_libraries(${name} ${ARGN})
endmacro()
-macro(LINK_AGAINST_THRIFT_LIBRARY target libname)
- target_link_libraries(${target} ${libname})
+macro(LINK_AGAINST_THRIFT_LIBRARY target)
+ target_link_libraries(${target} ${ARGN})
endmacro()
macro(TARGET_LINK_LIBRARIES_THRIFT_AGAINST_THRIFT_LIBRARY target libname)