CMakeLists.txt 527 B

1234567891011121314
  1. cmake_minimum_required(VERSION 2.6.0)
  2. set (CMAKE_EXE_LINKER_FLAGS "-fopenmp")
  3. if (APPLE)
  4. set(CMAKE_EXE_LINKER_FLAGS "-fopenmp -L$ENV{HOME}/Code/xpir/freshxpir/xpir-ng/local/lib/ -lboost_program_options")
  5. endif()
  6. include_directories(..)
  7. include_directories(../..)
  8. add_executable(pir_client DESC.cpp PIRClient.cpp PIRClientLog.cpp PIRController.cpp PIRView.cpp PIRViewCLI.cpp main.cpp)
  9. target_link_libraries(pir_client pir_client_optim pir pthread ${MPFR_LIBRARIES} ${Boost_LIBRARIES} ${GMP_LIBRARIES} ${GMPXX_LIBRARIES})