1 2 3 4 5 6 7 8 9 10 11 12
|
Description: Link against the PIC version of libantlr as required to build xdkbtex to a .so
Author: James Turton <james@somecomputer.xyz>
Last-Update: 2020-04-10
Forwarded: no
--- a/thirdparty/xdkbibtex/CMakeLists.txt
+++ b/thirdparty/xdkbibtex/CMakeLists.txt
@@ -20,4 +20,4 @@
ADD_LIBRARY(xdkbibtex STATIC ${XDKBIBTEX_SRCS})
# allow the static library to be used to build shared libs
SET_TARGET_PROPERTIES(xdkbibtex PROPERTIES POSITION_INDEPENDENT_CODE ON)
-TARGET_LINK_LIBRARIES(xdkbibtex antlr)
+TARGET_LINK_LIBRARIES(xdkbibtex antlr-pic)
|