X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=ext%2FCMakeLists.txt;h=edc2b9f9aa0f476cd27390db242172bd5ee46f48;hb=e679b515eddb3dd340fb25620de0160211f40fdc;hp=b8917a2652d5c61e2e1e4576b138941833ad5184;hpb=d98199487aa414cb7f965a058c4395235343e20a;p=platform%2Fupstream%2Flibsolv.git diff --git a/ext/CMakeLists.txt b/ext/CMakeLists.txt index b8917a2..edc2b9f 100644 --- a/ext/CMakeLists.txt +++ b/ext/CMakeLists.txt @@ -126,6 +126,11 @@ IF (ENABLE_RPMMD OR ENABLE_SUSEREPO OR ENABLE_APPDATA OR ENABLE_COMPS OR ENABLE_ solv_xmlparser.c) ENDIF (ENABLE_RPMMD OR ENABLE_SUSEREPO OR ENABLE_APPDATA OR ENABLE_COMPS OR ENABLE_HELIXREPO OR ENABLE_MDKREPO) +IF (ENABLE_ZCHUNK_COMPRESSION) + SET (libsolvext_SRCS ${libsolvext_SRCS} + solv_zchunk.c) +ENDIF (ENABLE_ZCHUNK_COMPRESSION) + SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC") IF (HAVE_LINKER_VERSION_SCRIPT) SET (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${LINK_FLAGS} -Wl,--version-script=${CMAKE_SOURCE_DIR}/ext/libsolvext.ver")