link in additional libraries that the configure step finds
This commit is contained in:
parent
a7ba04a8cc
commit
bc701c59de
|
@ -115,6 +115,7 @@ IF(BUILD_ARCHIVE_WITHIN_CMAKE)
|
||||||
# when building inside the CMake tree only use static
|
# when building inside the CMake tree only use static
|
||||||
# and call the library cmlibarchive
|
# and call the library cmlibarchive
|
||||||
ADD_LIBRARY(cmlibarchive STATIC ${libarchive_SOURCES} ${include_HEADERS})
|
ADD_LIBRARY(cmlibarchive STATIC ${libarchive_SOURCES} ${include_HEADERS})
|
||||||
|
TARGET_LINK_LIBRARIES(cmlibarchive ${ADDITIONAL_LIBS})
|
||||||
ELSE()
|
ELSE()
|
||||||
# Libarchive is a shared library
|
# Libarchive is a shared library
|
||||||
ADD_LIBRARY(archive SHARED ${libarchive_SOURCES} ${include_HEADERS})
|
ADD_LIBRARY(archive SHARED ${libarchive_SOURCES} ${include_HEADERS})
|
||||||
|
|
Loading…
Reference in New Issue