diff options
Diffstat (limited to 'cv/CMakeLists.txt')
-rw-r--r-- | cv/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cv/CMakeLists.txt b/cv/CMakeLists.txt new file mode 100644 index 00000000..0f29c4f2 --- /dev/null +++ b/cv/CMakeLists.txt @@ -0,0 +1,6 @@ +find_package(OpenCV 3.0 QUIET) +if(OpenCV_FOUND) + opentrack_boilerplate(opentrack-cv STATIC) + target_link_libraries(opentrack-cv ${OpenCV_LIBS}) + target_include_directories(opentrack-cv SYSTEM PUBLIC ${OpenCV_INCLUDE_DIRS}) +endif() |