]>
Commit | Line | Data |
---|---|---|
f3de2dba JAK |
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}) |