From 62f3c9bfa9f24dca13b5b65c58b334c3ec7089e6 Mon Sep 17 00:00:00 2001 From: ExpandingDev Date: Fri, 25 Jan 2019 08:36:28 -0500 Subject: [PATCH] Merge pull request #13675 from ExpandingDev:patch-1 * Add note about building for pkg-config * minor fixes --- .../introduction/linux_install/linux_install.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/tutorials/introduction/linux_install/linux_install.markdown b/doc/tutorials/introduction/linux_install/linux_install.markdown index 9f691c2589..0d0bdf9f6b 100644 --- a/doc/tutorials/introduction/linux_install/linux_install.markdown +++ b/doc/tutorials/introduction/linux_install/linux_install.markdown @@ -97,6 +97,11 @@ Building OpenCV from Source Using CMake - It is useful also to unset BUILD_EXAMPLES, BUILD_TESTS, BUILD_PERF_TESTS - as they all will be statically linked with OpenCV and can take a lot of memory. +-# [optional] Generate pkg-config info + - Add this flag when running CMake: `-DOPENCV_GENERATE_PKGCONFIG=ON` + - Will generate the .pc file for pkg-config and install it. + - Useful if not using CMake in projects that use OpenCV + -# Build. From build directory execute *make*, it is recommended to do this in several threads For example