Skip to content

Instantly share code, notes, and snippets.

@raaka1
Created October 10, 2016 07:11
Show Gist options
  • Select an option

  • Save raaka1/56ab65c8c65aaf8f372f50202f8cf810 to your computer and use it in GitHub Desktop.

Select an option

Save raaka1/56ab65c8c65aaf8f372f50202f8cf810 to your computer and use it in GitHub Desktop.
cmake_minimum_required(VERSION 2.8)
project( SmartCow )
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(OpenCV REQUIRED)
find_package(CUDA REQUIRED)
find_library(NVX visionworks)
find_library(FLYCAPTURE2 flycapture)
include_directories("/usr/include/flycapture")
include_directories("/usr/local/cuda-7.0/include")
include_directories("/usr/include/NVXIO")
add_executable( SmartCow GigEGrabEx.cpp )
target_link_libraries( SmartCow ${FLYCAPTURE2} ${OpenCV_LIBS} ${NVX} )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment