]> git.saurik.com Git - apt.git/blob - ftparchive/CMakeLists.txt
CMake/private-download: Fix statfs includes on FreeBSD
[apt.git] / ftparchive / CMakeLists.txt
1 # Create the executable tasks
2 file(GLOB_RECURSE source "*.cc")
3 add_executable(apt-ftparchive ${source})
4
5 # Link the executables against the libraries
6 target_include_directories(apt-ftparchive PRIVATE ${BERKELEY_DB_INCLUDE_DIRS})
7 target_link_libraries(apt-ftparchive apt-inst apt-pkg apt-private ${BERKELEY_DB_LIBRARIES})
8
9 # Install the executables
10 install(TARGETS apt-ftparchive RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})