CMakeLists.txt 424 B

1234567891011
  1. # Create the executable tasks
  2. file(GLOB_RECURSE source "*.cc")
  3. add_executable(apt-ftparchive ${source})
  4. # Link the executables against the libraries
  5. target_include_directories(apt-ftparchive PRIVATE ${BERKELEY_DB_INCLUDE_DIRS})
  6. target_link_libraries(apt-ftparchive apt-inst apt-pkg apt-private ${BERKELEY_DB_LIBRARIES})
  7. # Install the executables
  8. install(TARGETS apt-ftparchive RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})