diff options
author | Michael Schroeder <mls@suse.de> | 2010-06-08 17:55:22 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2010-06-08 17:58:11 +0200 |
commit | 64eb1c95abd71d930ed69b9deec18bdc2b68e053 (patch) | |
tree | 955c0a51cdb50869d055005c9764b46421703c32 /CMakeLists.txt | |
parent | c3c9750311ff70e9d5fc332e46f46f1e46cc0c1f (diff) | |
download | libsolv-64eb1c95abd71d930ed69b9deec18bdc2b68e053.tar.gz libsolv-64eb1c95abd71d930ed69b9deec18bdc2b68e053.tar.bz2 libsolv-64eb1c95abd71d930ed69b9deec18bdc2b68e053.zip |
- link with all needed libraries, by Lorenzo Villani
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a5fe259..24234db 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -55,6 +55,16 @@ FIND_LIBRARY(RPMDB_LIBRARY NAMES rpmdb) IF ( NOT RPMDB_LIBRARY ) FIND_LIBRARY(RPMDB_LIBRARY NAMES rpm) ENDIF( NOT RPMDB_LIBRARY ) +FIND_LIBRARY(RPMIO_LIBRARY NAMES rpmio) +IF ( RPMIO_LIBRARY ) +SET( RPMDB_LIBRARY ${RPMIO_LIBRARY} ${RPMDB_LIBRARY} ) +ENDIF ( RPMIO_LIBRARY ) +IF ( FEDORA ) +FIND_LIBRARY(DB_LIBRARY NAMES db) +IF ( DB_LIBRARY ) +SET( RPMDB_LIBRARY ${DB_LIBRARY} ${RPMDB_LIBRARY} ) +ENDIF ( DB_LIBRARY ) +ENDIF ( FEDORA ) ENDIF ( NOT DEBIAN ) SET( PACKAGE "satsolver" ) |