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)
6 IF (ENABLE_BZIP2_COMPRESSION)
7 SET (SYSTEM_LIBRARIES ${SYSTEM_LIBRARIES} ${BZIP2_LIBRARIES})
8 ENDIF (ENABLE_BZIP2_COMPRESSION)
10 SET (SYSTEM_LIBRARIES ${RPMDB_LIBRARY} ${SYSTEM_LIBRARIES})
13 SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC")
17 MESSAGE (STATUS "Found SWIG version ${SWIG_VERSION}")
18 SET (SWIG_INPUT "${CMAKE_CURRENT_SOURCE_DIR}/solv.i")
21 ADD_SUBDIRECTORY (python)
24 ADD_SUBDIRECTORY (perl)
27 ADD_SUBDIRECTORY (ruby)