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