summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-11-07 15:52:40 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-11-07 15:52:40 (GMT)
commitbc701c59de29232a28c575e1acf46b45a2ebf75e (patch)
treeaebe3a0c54719ad0125a8dde611a3a06eb1e6464 /Utilities
parenta7ba04a8ccfbaeeca11702a68fffd81ab84f3597 (diff)
downloadCMake-bc701c59de29232a28c575e1acf46b45a2ebf75e.zip
CMake-bc701c59de29232a28c575e1acf46b45a2ebf75e.tar.gz
CMake-bc701c59de29232a28c575e1acf46b45a2ebf75e.tar.bz2
link in additional libraries that the configure step finds
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/cmlibarchive/libarchive/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Utilities/cmlibarchive/libarchive/CMakeLists.txt b/Utilities/cmlibarchive/libarchive/CMakeLists.txt
index 47226aa..7bc8ead 100644
--- a/Utilities/cmlibarchive/libarchive/CMakeLists.txt
+++ b/Utilities/cmlibarchive/libarchive/CMakeLists.txt
@@ -115,6 +115,7 @@ IF(BUILD_ARCHIVE_WITHIN_CMAKE)
# when building inside the CMake tree only use static
# and call the library cmlibarchive
ADD_LIBRARY(cmlibarchive STATIC ${libarchive_SOURCES} ${include_HEADERS})
+ TARGET_LINK_LIBRARIES(cmlibarchive ${ADDITIONAL_LIBS})
ELSE()
# Libarchive is a shared library
ADD_LIBRARY(archive SHARED ${libarchive_SOURCES} ${include_HEADERS})