diff options
author | Michael Schroeder <mls@suse.de> | 2012-04-02 13:41:10 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2012-04-02 13:41:10 +0200 |
commit | d1275e7fcce9d4fc23f418d3b841d8940d2cc163 (patch) | |
tree | f5d903e463d3c317c29897e7ffd46663e95a3e9b /bindings | |
parent | ab13d4e340f60848879a06b060d0bbe702d76092 (diff) | |
download | libsolv-d1275e7fcce9d4fc23f418d3b841d8940d2cc163.tar.gz libsolv-d1275e7fcce9d4fc23f418d3b841d8940d2cc163.tar.bz2 libsolv-d1275e7fcce9d4fc23f418d3b841d8940d2cc163.zip |
- make sure to link against the lzma library if ENABLE_LZMA_COMPRESSION is set
Diffstat (limited to 'bindings')
-rw-r--r-- | bindings/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bindings/CMakeLists.txt b/bindings/CMakeLists.txt index 1fe3061..b6b9a27 100644 --- a/bindings/CMakeLists.txt +++ b/bindings/CMakeLists.txt @@ -1,5 +1,8 @@ # as we link with --as-needed we do not get bogus dependencies SET (SYSTEM_LIBRARIES ${EXPAT_LIBRARY} ${ZLIB_LIBRARY}) +IF (ENABLE_LZMA_COMPRESSION) +SET (SYSTEM_LIBRARIES ${SYSTEM_LIBRARIES} ${LZMA_LIBRARY}) +ENDIF (ENABLE_LZMA_COMPRESSION) IF (NOT DEBIAN) SET (SYSTEM_LIBRARIES ${RPMDB_LIBRARY} ${SYSTEM_LIBRARIES}) ENDIF (NOT DEBIAN) |