diff options
author | Michael Schroeder <mls@suse.de> | 2012-06-22 11:53:38 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2012-06-22 11:53:38 +0200 |
commit | a4e2caaeae654b8ba5142b53e0c3cb753c6fb4c4 (patch) | |
tree | 4144c4e0a97bd36ab604df02b39ce2f9cb644171 /tools/CMakeLists.txt | |
parent | d39a42bdbca382fe332b4114484d61ab5afafe24 (diff) | |
download | libsolv-a4e2caaeae654b8ba5142b53e0c3cb753c6fb4c4.tar.gz libsolv-a4e2caaeae654b8ba5142b53e0c3cb753c6fb4c4.tar.bz2 libsolv-a4e2caaeae654b8ba5142b53e0c3cb753c6fb4c4.zip |
- add ENABLE_BZIP2_COMPRESSION and ENABLE_CUDFREPO to support some cudf tests
Diffstat (limited to 'tools/CMakeLists.txt')
-rw-r--r-- | tools/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 681ca55..9fca9c6 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -9,6 +9,9 @@ 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) @@ -82,6 +85,11 @@ TARGET_LINK_LIBRARIES (archrepo2solv toolstuff libsolvext libsolv ${SYSTEM_LIBRA SET (tools_list ${tools_list} archpkgs2solv archrepo2solv) ENDIF (ENABLE_ARCHREPO) +IF (ENABLE_CUDFREPO) +ADD_EXECUTABLE (cudftest cudftest.c) +TARGET_LINK_LIBRARIES (cudftest libsolvext libsolv ${SYSTEM_LIBRARIES}) +ENDIF (ENABLE_CUDFREPO) + ADD_EXECUTABLE (installcheck installcheck.c) TARGET_LINK_LIBRARIES (installcheck libsolvext libsolv ${SYSTEM_LIBRARIES}) |