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.

FindThirdPartyTMSi.cmake 611B

3 years ago
12345678910111213141516171819
  1. GET_PROPERTY(OV_PRINTED GLOBAL PROPERTY OV_TRIED_ThirdPartyTMSi)
  2. IF(WIN32)
  3. FIND_PATH(PATH_TMSi TMSiSDK.dll PATHS ${LIST_DEPENDENCIES_PATH} PATH_SUFFIXES sdk_tmsi NO_DEFAULT_PATH)
  4. ENDIF(WIN32)
  5. IF(PATH_TMSi)
  6. OV_PRINT(OV_PRINTED " Found TMSi dll...")
  7. OV_PRINT(OV_PRINTED " [ OK ] dll ${PATH_TMSi}/TMSiSDK.dll")
  8. INSTALL(PROGRAMS "${PATH_TMSi}/TMSiSDK.dll" DESTINATION ${DIST_BINDIR})
  9. ADD_DEFINITIONS(-DTARGET_HAS_ThirdPartyTMSi)
  10. ELSE(PATH_TMSi)
  11. OV_PRINT(OV_PRINTED " FAILED to find TMSi device dll (optional driver)")
  12. ENDIF(PATH_TMSi)
  13. SET_PROPERTY(GLOBAL PROPERTY OV_TRIED_ThirdPartyTMSi "Yes")