From 7f935717cbf9b153a342954b62c007ac925166e7 Mon Sep 17 00:00:00 2001 From: Roman Donchenko Date: Tue, 19 Nov 2013 18:58:33 +0400 Subject: [PATCH] In OpenCVConfig.cmake.in, lowercased the commands in the example. This is the preferred style nowadays, and more consistent with the rest of the code. --- cmake/templates/OpenCVConfig.cmake.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/templates/OpenCVConfig.cmake.in b/cmake/templates/OpenCVConfig.cmake.in index 183c669381..be7ecf8d08 100644 --- a/cmake/templates/OpenCVConfig.cmake.in +++ b/cmake/templates/OpenCVConfig.cmake.in @@ -6,12 +6,12 @@ # Usage from an external project: # In your CMakeLists.txt, add these lines: # -# FIND_PACKAGE(OpenCV REQUIRED) -# TARGET_LINK_LIBRARIES(MY_TARGET_NAME ${OpenCV_LIBS}) +# find_package(OpenCV REQUIRED) +# target_link_libraries(MY_TARGET_NAME ${OpenCV_LIBS}) # # Or you can search for specific OpenCV modules: # -# FIND_PACKAGE(OpenCV REQUIRED core highgui) +# find_package(OpenCV REQUIRED core highgui) # # If the module is found then OPENCV__FOUND is set to TRUE. # -- GitLab