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.

FindOpenViBECommon.cmake 724B

123456789101112131415161718192021
  1. # ---------------------------------
  2. # Finds OpenViBE common include files
  3. # Adds dependency to target
  4. # Adds include path
  5. # ---------------------------------
  6. SET(PATH_OPENVIBE_COMMON "PATH_OPENVIBE_COMMON-NOTFOUND")
  7. FIND_PATH(PATH_OPENVIBE_COMMON ov_common_defines.h PATHS ${OV_BASE_DIR}/common/include NO_DEFAULT_PATH)
  8. IF(PATH_OPENVIBE_COMMON)
  9. debug_message( " Found openvibe-common...")
  10. INCLUDE_DIRECTORIES(${PATH_OPENVIBE_COMMON})
  11. ADD_DEPENDENCIES(${PROJECT_NAME} openvibe-common)
  12. ADD_DEFINITIONS(-DTARGET_HAS_OpenViBE_Common)
  13. ADD_DEFINITIONS(-DTARGET_HAS_ThirdPartyOpenViBEPluginsGlobalDefines)
  14. ELSE(PATH_OPENVIBE_COMMON)
  15. MESSAGE(WARNING " FAILED to find openvibe-common...")
  16. ENDIF(PATH_OPENVIBE_COMMON)