LLCommon.cmake 401 B

123456789101112131415161718
  1. # -*- cmake -*-
  2. if (LLCOMMON_CMAKE_INCLUDED)
  3. return()
  4. endif (LLCOMMON_CMAKE_INCLUDED)
  5. set (LLCOMMON_CMAKE_INCLUDED TRUE)
  6. include(APR)
  7. include(Boost)
  8. include(Tracy)
  9. include_directories(${CMAKE_SOURCE_DIR}/llcommon)
  10. if (LINUX)
  11. # llcommon uses `clock_gettime' which is provided by librt on linux.
  12. set(LLCOMMON_LIBRARIES llcommon rt)
  13. else (LINUX)
  14. set(LLCOMMON_LIBRARIES llcommon)
  15. endif (LINUX)