Skip to content

Instantly share code, notes, and snippets.

@tochiz
Created November 5, 2011 03:08
Show Gist options
  • Save tochiz/1341042 to your computer and use it in GitHub Desktop.
Save tochiz/1341042 to your computer and use it in GitHub Desktop.
OpenCVsample CMake
PROJECT( opencvtest_proj )
FIND_PACKAGE( OpenCV REQUIRED )
FILE(GLOB SRCS *.cpp)
ADD_EXECUTABLE( opencvtest ${SRCS} )
TARGET_LINK_LIBRARIES( opencvtest ${OpenCV_LIBS} )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment