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.

FindOpenViBEPluginsGlobalDefines.cmake 801B

3 years ago
123456789101112131415161718
  1. # ---------------------------------
  2. # Finds OpenViBEPluginsGlobalDefines
  3. # Adds library to target
  4. # Adds include path
  5. #
  6. # @deprecated Running FindOpenVibeCommon.cmake is sufficient
  7. #
  8. # ---------------------------------
  9. SET(PATH_OpenViBEPluginsGlobalDefines "PATH_OpenViBEPluginsGlobalDefines-NOTFOUND")
  10. FIND_PATH(PATH_OpenViBEPluginsGlobalDefines ovp_global_defines.h PATHS ${OV_BASE_DIR}/common/include NO_DEFAULT_PATH)
  11. IF(PATH_OpenViBEPluginsGlobalDefines)
  12. debug_message( " Found OpenViBE plugins global defines...")
  13. INCLUDE_DIRECTORIES(${PATH_OpenViBEPluginsGlobalDefines})
  14. ADD_DEFINITIONS(-DTARGET_HAS_ThirdPartyOpenViBEPluginsGlobalDefines)
  15. ELSE(PATH_OpenViBEPluginsGlobalDefines)
  16. MESSAGE(WARNING " FAILED to find OpenViBE plugins global defines")
  17. ENDIF(PATH_OpenViBEPluginsGlobalDefines)