Created
September 11, 2014 14:54
-
-
Save horitaku1124/cf18984c27be83b9a15e to your computer and use it in GitHub Desktop.
OpenCVを使用したときのCMakeの書き方
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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