diff options
author | Ingo Weinhold <ingo_weinhold@gmx.de> | 2013-03-30 14:10:53 +0000 |
---|---|---|
committer | Ingo Weinhold <ingo_weinhold@gmx.de> | 2013-03-30 14:32:57 +0000 |
commit | 0956fe2ddcce804fddd46194c581dc4d0a996024 (patch) | |
tree | 4a29b2e08cc8c5c1da53bb0d64360b8b41dc59f3 /tools | |
parent | b28012db483328eaa59244b186f5ca9d0c4da2f9 (diff) | |
download | libsolv-0956fe2ddcce804fddd46194c581dc4d0a996024.tar.gz libsolv-0956fe2ddcce804fddd46194c581dc4d0a996024.tar.bz2 libsolv-0956fe2ddcce804fddd46194c581dc4d0a996024.zip |
Define SYSTEM_LIBRARIES in main CMakeLists.txt
* There were identical SYSTEM_LIBRARIES definitions in several CMakeLists.txt
files (well almost identical -- some still checked for DEBIAN instead of
ENABLE_RPMDB). Now it's defined in the main CMakeLists.txt.
* Remove --as-needed from CMAKE_C_FLAGS and add it to SYSTEM_LIBRARIES. It
isn't a compiler flag and older gcc's issue a warning when encountering it
on a compile line.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/CMakeLists.txt | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 60406df..f20955c 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -4,18 +4,6 @@ ADD_LIBRARY (toolstuff STATIC common_write.c) -# 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 (ENABLE_BZIP2_COMPRESSION) -SET (SYSTEM_LIBRARIES ${SYSTEM_LIBRARIES} ${BZIP2_LIBRARIES}) -ENDIF (ENABLE_BZIP2_COMPRESSION) -IF (ENABLE_RPMDB) -SET (SYSTEM_LIBRARIES ${RPMDB_LIBRARY} ${SYSTEM_LIBRARIES}) -ENDIF (ENABLE_RPMDB) - SET (tools_list mergesolv dumpsolv installcheck testsolv) IF (ENABLE_RPMDB) |