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.

FindThirdPartyVRPN_Check.cmake 722B

3 years ago
1234567891011121314151617181920
  1. # ---------------------------------
  2. # Finds VRPN
  3. # Sets PATH_VRPN if found
  4. # ---------------------------------
  5. # The first ${..}/vrpn path is for Windows, the second ${..}/ for Linux
  6. GET_PROPERTY(OV_PRINTED GLOBAL PROPERTY OV_TRIED_ThirdPartyVRPN_Check)
  7. OV_PRINT(OV_PRINTED " Checking for VRPN...")
  8. FIND_PATH(PATH_VRPN include/vrpn_BaseClass.h PATHS ${LIST_DEPENDENCIES_PATH} PATH_SUFFIXES vrpn . NO_DEFAULT_PATH)
  9. FIND_PATH(PATH_VRPN include/vrpn_BaseClass.h PATHS ${LIST_DEPENDENCIES_PATH} PATH_SUFFIXES vrpn .)
  10. IF(PATH_VRPN)
  11. OV_PRINT(OV_PRINTED " Found VRPN...")
  12. ELSE(PATH_VRPN)
  13. OV_PRINT(OV_PRINTED " FAILED to find VRPN")
  14. ENDIF(PATH_VRPN)
  15. SET_PROPERTY(GLOBAL PROPERTY OV_TRIED_ThirdPartyVRPN_Check "Yes")