You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

FindThirdPartyBoost.cmake 666B

123456789101112131415161718
  1. # ---------------------------------
  2. # Finds third party boost
  3. # Adds library to target
  4. # Adds include path
  5. # ---------------------------------
  6. SET(PATH_BOOST "PATH_BOOST-NOTFOUND")
  7. FIND_PATH(PATH_BOOST "include/boost/config/auto_link.hpp" PATHS ${OV_CUSTOM_DEPENDENCIES_PATH}/boost ${OV_CUSTOM_DEPENDENCIES_PATH} NO_DEFAULT_PATH)
  8. FIND_PATH(PATH_BOOST "include/boost/config/auto_link.hpp" PATHS ${OV_CUSTOM_DEPENDENCIES_PATH}/boost)
  9. IF(PATH_BOOST)
  10. debug_message( " Found boost includes...")
  11. INCLUDE_DIRECTORIES(${PATH_BOOST}/include)
  12. ADD_DEFINITIONS(-DTARGET_HAS_Boost)
  13. ELSE(PATH_BOOST)
  14. MESSAGE(WARNING " FAILED to find boost includes...")
  15. ENDIF(PATH_BOOST)