CMakeLists.txt 338 B

12345678910111213141516171819
  1. cmake_minimum_required(VERSION 3.10)
  2. project(SealPIR VERSION 1.1 LANGUAGES CXX)
  3. set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)
  4. add_executable(sealpir
  5. main.cpp
  6. pir.cpp
  7. pir_client.cpp
  8. pir_server.cpp
  9. )
  10. find_package(SEAL 3.1.0 EXACT REQUIRED)
  11. find_package(Threads REQUIRED)
  12. target_link_libraries(sealpir
  13. SEAL::seal
  14. )