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.

FindThirdPartyMensiaAcquisition.cmake 694B

1234567891011121314151617181920
  1. GET_PROPERTY(OV_PRINTED GLOBAL PROPERTY OV_TRIED_ThirdPartyMensiaAcquisition)
  2. IF(WIN32)
  3. FIND_PATH(PATH_MENSIA openvibe-driver-mensia-acquisition.dll PATHS ${LIST_DEPENDENCIES_PATH} PATH_SUFFIXES sdk_mensia_acquisition_driver NO_DEFAULT_PATH)
  4. ENDIF(WIN32)
  5. IF(PATH_MENSIA)
  6. OV_PRINT(OV_PRINTED " Found Mensia Acquisition driver...")
  7. INSTALL(DIRECTORY "${PATH_MENSIA}/" DESTINATION "${DIST_BINDIR}/" FILES_MATCHING PATTERN "*.dll")
  8. ADD_DEFINITIONS(-DTARGET_HAS_ThirdPartyMensiaAcquisition)
  9. ELSE(PATH_MENSIA)
  10. OV_PRINT(OV_PRINTED " FAILED to find Mensia Acquisition driver (optional driver)")
  11. ENDIF(PATH_MENSIA)
  12. SET_PROPERTY(GLOBAL PROPERTY OV_TRIED_ThirdPartyMensiaAcquisition "Yes")