diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-11-07 15:52:40 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-11-07 15:52:40 (GMT) |
commit | bc701c59de29232a28c575e1acf46b45a2ebf75e (patch) | |
tree | aebe3a0c54719ad0125a8dde611a3a06eb1e6464 /Utilities | |
parent | a7ba04a8ccfbaeeca11702a68fffd81ab84f3597 (diff) | |
download | CMake-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.txt | 1 |
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}) |