]> git.saurik.com Git - apt.git/blame - ftparchive/CMakeLists.txt
support 'apt build-dep .' (aka: without /)
[apt.git] / ftparchive / CMakeLists.txt
CommitLineData
24ad9b32 1include_directories(${BERKELEY_DB_INCLUDE_DIRS})
f3de2dba
JAK
2# Create the executable tasks
3file(GLOB_RECURSE source "*.cc")
4add_executable(apt-ftparchive ${source})
5
6# Link the executables against the libraries
7target_include_directories(apt-ftparchive PRIVATE ${BERKELEY_DB_INCLUDE_DIRS})
8target_link_libraries(apt-ftparchive apt-inst apt-pkg apt-private ${BERKELEY_DB_LIBRARIES})
9
10# Install the executables
11install(TARGETS apt-ftparchive RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})