From 0715c73705d3ce95e04f27852343f2f1967a7dcc Mon Sep 17 00:00:00 2001 From: bruneton Date: Fri, 19 Jul 2013 12:57:04 +0000 Subject: [PATCH] CMake: amended doc about CONFIG mode following code change --- dev/cmake/source/pkg.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/cmake/source/pkg.rst b/dev/cmake/source/pkg.rst index f575d06..b316e82 100644 --- a/dev/cmake/source/pkg.rst +++ b/dev/cmake/source/pkg.rst @@ -161,7 +161,7 @@ The macro has a significant size but is very linear: directly on XYZ) 2. Invoke FIND_PACKAGE() in this order: - * in CONFIG mode first (if possible): priority is given to a potential "XYZ-config.cmake" file. + * in CONFIG mode first (if possible): priority is given to a potential "XYZ-config.cmake" file. In this mode, the standard system paths are skipped. If you however want to force a detection in CONFIG mode into a system path, you have to set explicitly the XYZ_ROOT_DIR variable to "/usr". * then switch to the standard MODULE mode, appending on CMAKE_PREFIX_PATH the above XYZ_ROOT_DIR variable. 3. Extract the path actually found into a temp variable _XYZ_TMP_DIR -- 2.39.2