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.

FindThirdPartyNeXus.cmake 605B

3 years ago
12345678910111213141516171819
  1. GET_PROPERTY(OV_PRINTED GLOBAL PROPERTY OV_TRIED_ThirdPartyNeXus)
  2. IF(WIN32)
  3. FIND_PATH(PATH_NEXUS NeXusDll.dll PATHS ${LIST_DEPENDENCIES_PATH} PATH_SUFFIXES sdk_nexus NO_DEFAULT_PATH)
  4. ENDIF(WIN32)
  5. IF(PATH_NEXUS)
  6. OV_PRINT(OV_PRINTED " Found MindMedia NeXus dll...")
  7. INSTALL(PROGRAMS "${PATH_NEXUS}/NeXusDll.dll" "${PATH_NEXUS}/RTInst.dll" DESTINATION ${DIST_BINDIR})
  8. ADD_DEFINITIONS(-DTARGET_HAS_ThirdPartyNeXus)
  9. ELSE(PATH_NEXUS)
  10. OV_PRINT(OV_PRINTED " FAILED to find MindMedia NeXus device dll (optional driver)")
  11. ENDIF(PATH_NEXUS)
  12. SET_PROPERTY(GLOBAL PROPERTY OV_TRIED_ThirdPartyNeXus "Yes")