Skip to content

Instantly share code, notes, and snippets.

@syshack
Created September 24, 2014 02:30
Show Gist options
  • Save syshack/63600a520623779c9dab to your computer and use it in GitHub Desktop.
Save syshack/63600a520623779c9dab to your computer and use it in GitHub Desktop.
Cmakelist.text
cmake_minimum_required(VERSION 2.8.4)
project(clionproject)
LINK_DIRECTORIES(
/usr/local/lib
)
TARGET_LINK_LIBRARIES(opencv_core opencv_imgproc opencv_flann
opencv_imgcodecs opencv_videoio opencv_highgui opencv_ml opencv_video
opencv_objdetect opencv_photo opencv_features2d opencv_calib3d
opencv_stitching opencv_videostab opencv_shape)
set(SOURCE_FILES main.cpp image.cpp)
add_executable(clionproject ${SOURCE_FILES})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment