X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tools%2FCMakeLists.txt;h=89151010d5c5e0777424730415267f13737ae3d2;hb=9ed8cc56dcdb5108c584f12a112d677fdbac7278;hp=5485737fd88bcd7c5be4e769faefdb69bcd0135a;hpb=3bf73c639f7e8c5825024a889597b8abc1eb64fa;p=platform%2Fupstream%2Flibsolv.git diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 5485737..8915101 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -1,4 +1,3 @@ - SET(rpmdb2solv_REPOS rpmdb2solv.c repo_rpmdb.h @@ -16,7 +15,7 @@ TARGET_LINK_LIBRARIES( rpms2solv satsolver ${RPMDB_LIBRARY}) SET(rpmmd2solv_REPOS rpmmd2solv.c repo_rpmmd.h repo_rpmmd.c repo_write.c common_write.c ) ADD_EXECUTABLE( rpmmd2solv ${rpmmd2solv_REPOS} ) -TARGET_LINK_LIBRARIES( rpmmd2solv satsolver ${EXPAT_LIBRARY}) +TARGET_LINK_LIBRARIES( rpmmd2solv satsolver ${EXPAT_LIBRARY} ${ZLIB_LIBRARY}) SET(helix2solv_REPOS helix2solv.c repo_write.c common_write.c ) ADD_EXECUTABLE( helix2solv ${helix2solv_REPOS} ) @@ -24,12 +23,15 @@ TARGET_LINK_LIBRARIES( helix2solv satsolver ${EXPAT_LIBRARY}) SET(susetags2solv_REPOS susetags2solv.c repo_susetags.h repo_susetags.c repo_content.c repo_write.c common_write.c) ADD_EXECUTABLE( susetags2solv ${susetags2solv_REPOS} ) -TARGET_LINK_LIBRARIES( susetags2solv satsolver) +TARGET_LINK_LIBRARIES( susetags2solv satsolver ${ZLIB_LIBRARY}) SET(patchxml2solv_REPOS patchxml2solv.c repo_patchxml.h repo_patchxml.c repo_write.c common_write.c) ADD_EXECUTABLE( patchxml2solv ${patchxml2solv_REPOS} ) TARGET_LINK_LIBRARIES( patchxml2solv satsolver ${EXPAT_LIBRARY}) +SET(updateinfoxml2solv_REPOS updateinfoxml2solv.c repo_updateinfoxml.h repo_updateinfoxml.c repo_write.c common_write.c) +ADD_EXECUTABLE( updateinfoxml2solv ${updateinfoxml2solv_REPOS} ) +TARGET_LINK_LIBRARIES( updateinfoxml2solv satsolver ${EXPAT_LIBRARY}) SET(dumpsolv_REPOS dumpsolv.c) ADD_EXECUTABLE( dumpsolv ${dumpsolv_REPOS} ) @@ -39,13 +41,6 @@ SET(mergesolv_REPOS mergesolv.c repo_write.c common_write.c) ADD_EXECUTABLE( mergesolv ${mergesolv_REPOS} ) TARGET_LINK_LIBRARIES( mergesolv satsolver) -#SET(dumpattr_REPOS dumpattr.c) -#ADD_EXECUTABLE( dumpattr ${dumpattr_REPOS} ) -#TARGET_LINK_LIBRARIES( dumpattr satsolver) - -#ADD_EXECUTABLE( addstore addstore.c repo_write.c ) -#TARGET_LINK_LIBRARIES( addstore satsolver ) - install(TARGETS mergesolv dumpsolv @@ -54,6 +49,7 @@ install(TARGETS helix2solv rpmmd2solv rpmdb2solv + rpms2solv DESTINATION ${BIN_INSTALL_DIR} ) install(PROGRAMS repo2solv.sh DESTINATION ${BIN_INSTALL_DIR} )