Created
July 30, 2019 04:56
-
-
Save codebudo/40c76008c93e0351eb3c4a41a816e743 to your computer and use it in GitHub Desktop.
CMake file for compiling OpenCV tests
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) | |
project( OpenCVTest ) | |
find_package( OpenCV REQUIRED ) | |
include_directories( ${OpenCV_INCLUDE_DIRS} ) | |
add_executable( resizecpu resize_cpu.cpp ) | |
target_link_libraries( resizecpu ${OpenCV_LIBS} ) | |
add_executable( resizegpu resize_gpu.cpp ) | |
target_link_libraries( resizegpu ${OpenCV_LIBS} ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment