1 # as we link with --as-needed we do not get bogus dependencies
2 SET (SYSTEM_LIBRARIES ${EXPAT_LIBRARY} ${ZLIB_LIBRARY})
3 IF (ENABLE_LZMA_COMPRESSION)
4 SET (SYSTEM_LIBRARIES ${SYSTEM_LIBRARIES} ${LZMA_LIBRARY})
5 ENDIF (ENABLE_LZMA_COMPRESSION)
7 SET (SYSTEM_LIBRARIES ${RPMDB_LIBRARY} ${SYSTEM_LIBRARIES})
10 SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC")
14 MESSAGE (STATUS "Found SWIG version ${SWIG_VERSION}")
15 SET (SWIG_INPUT "${CMAKE_CURRENT_SOURCE_DIR}/solv.i")
18 ADD_SUBDIRECTORY (python)
21 ADD_SUBDIRECTORY (perl)
24 ADD_SUBDIRECTORY (ruby)