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.

FindOpenViBEContributions.cmake 704B

3 years ago
12345678910111213141516171819
  1. # ---------------------------------
  2. # Finds OpenViBE contributions
  3. # Only serves to set up a define for the preprocessor
  4. # ---------------------------------
  5. GET_PROPERTY(OV_PRINTED GLOBAL PROPERTY OV_TRIED_OpenViBEContributions)
  6. FIND_PATH(PATH_OPENVIBE_CONTRIBUTIONS common/contribAcquisitionServer.cmake PATHS ${OV_BASE_DIR}/contrib NO_DEFAULT_PATH)
  7. IF(PATH_OPENVIBE_CONTRIBUTIONS)
  8. OV_PRINT(OV_PRINTED " Found openvibe-contributions...")
  9. ADD_DEFINITIONS(-DTARGET_HAS_OpenViBEContributions)
  10. ELSE(PATH_OPENVIBE_CONTRIBUTIONS)
  11. OV_PRINT(OV_PRINTED " FAILED to find openvibe-contributions...")
  12. ENDIF(PATH_OPENVIBE_CONTRIBUTIONS)
  13. SET_PROPERTY(GLOBAL PROPERTY OV_TRIED_OpenViBEContributions "Yes")