summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-08-22 17:58:50 +0800
committerErik Kundiman <erik@megapahit.org>2023-08-22 17:58:50 +0800
commit319ed3a59df9dbd2b51ece3d6a698040dcb47135 (patch)
treea2150defaa765378fd4be3cac82abbec6bf10570
parente24c3ed7d3baef9ea313a0f528075ef229257975 (diff)
Fix target_link_directories argument
Only found out after using CMake 3.26 for Darwin. It wasn't an error when using CMake 3.24.
-rw-r--r--indra/cmake/XmlRpcEpi.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/cmake/XmlRpcEpi.cmake b/indra/cmake/XmlRpcEpi.cmake
index 337e4b8974..aefc3e895f 100644
--- a/indra/cmake/XmlRpcEpi.cmake
+++ b/indra/cmake/XmlRpcEpi.cmake
@@ -19,5 +19,5 @@ elseif (LINUX)
${CMAKE_SYSROOT}/usr/include/xmlrpc-epi)
elseif (DARWIN)
target_include_directories( ll::xmlrpc-epi SYSTEM INTERFACE /usr/local/include)
-target_link_directories( ll::xmlrpc-epi SYSTEM INTERFACE /usr/local/lib)
+target_link_directories( ll::xmlrpc-epi INTERFACE /usr/local/lib)
endif ()