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.

FindThirdPartyMitsar.cmake 571B

12345678910111213141516171819
  1. GET_PROPERTY(OV_PRINTED GLOBAL PROPERTY OV_TRIED_ThirdPartyMitsar)
  2. IF(WIN32)
  3. FIND_PATH(PATH_MITSAR MitsarDll.dll PATHS ${LIST_DEPENDENCIES_PATH} PATH_SUFFIXES sdk_mitsar NO_DEFAULT_PATH)
  4. ENDIF(WIN32)
  5. IF(PATH_MITSAR)
  6. OV_PRINT(OV_PRINTED " Found Mitsar dll...")
  7. INSTALL(PROGRAMS "${PATH_MITSAR}/MitsarDll.dll" DESTINATION ${DIST_BINDIR})
  8. ADD_DEFINITIONS(-DTARGET_HAS_ThirdPartyMitsar)
  9. ELSE(PATH_MITSAR)
  10. OV_PRINT(OV_PRINTED " FAILED to find Mitsar device dll (optional driver)")
  11. ENDIF(PATH_MITSAR)
  12. SET_PROPERTY(GLOBAL PROPERTY OV_TRIED_ThirdPartyMitsar "Yes")