From: bruneton Date: Fri, 19 Jul 2013 12:57:04 +0000 (+0000) Subject: CMake: amended doc about CONFIG mode following code change X-Git-Tag: V7_4_0a1~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0715c73705d3ce95e04f27852343f2f1967a7dcc;p=tools%2Fdocumentation.git CMake: amended doc about CONFIG mode following code change --- 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