Skip to content

Instantly share code, notes, and snippets.

@horitaku1124
Created September 11, 2014 14:54
Show Gist options
  • Save horitaku1124/cf18984c27be83b9a15e to your computer and use it in GitHub Desktop.
Save horitaku1124/cf18984c27be83b9a15e to your computer and use it in GitHub Desktop.
OpenCVを使用したときのCMakeの書き方
cmake_minimum_required(VERSION 2.8.4)
project(test1)
FIND_PACKAGE( OpenCV REQUIRED )
set(SOURCE_FILES main.cpp)
add_executable(main ${SOURCE_FILES})
target_link_libraries(main ${OpenCV_LIBS} )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment