diff options
author | 權少 <ljqican@163.com> | 2023-09-18 13:08:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-09-18 13:24:27 (GMT) |
commit | 3cf5f4af548a84e877f26a7053e6055bfa10c8ab (patch) | |
tree | 45b9660ac02959f86b66b787a27a977bae947d2f /Modules | |
parent | b35c17b20223a6036e9f2b5442510cb6f56eead1 (diff) | |
download | CMake-3cf5f4af548a84e877f26a7053e6055bfa10c8ab.zip CMake-3cf5f4af548a84e877f26a7053e6055bfa10c8ab.tar.gz CMake-3cf5f4af548a84e877f26a7053e6055bfa10c8ab.tar.bz2 |
FindProducer: Improve documentation formatting
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindProducer.cmake | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/Modules/FindProducer.cmake b/Modules/FindProducer.cmake index 65495b5..8a16e8a 100644 --- a/Modules/FindProducer.cmake +++ b/Modules/FindProducer.cmake @@ -5,8 +5,6 @@ FindProducer ------------ - - Though Producer isn't directly part of OpenSceneGraph, its primary user is OSG so I consider this part of the Findosg* suite used to find OpenSceneGraph components. You'll notice that I accept OSGDIR as an @@ -17,19 +15,25 @@ must also opt into OpenGL (and OpenThreads?) as these modules won't do it for you. This is to allow you control over your own system piece by piece in case you need to opt out of certain components or change the Find behavior for a particular module (perhaps because the default -FindOpenGL.cmake module doesn't work with your system as an example). +:module:`FindOpenGL` module doesn't work with your system as an example). If you want to use a more convenient module that includes everything, -use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake +use the :module:`FindOpenSceneGraph` instead of the Findosg*.cmake modules. -Locate Producer This module defines PRODUCER_LIBRARY PRODUCER_FOUND, -if false, do not try to link to Producer PRODUCER_INCLUDE_DIR, where -to find the headers +Locate Producer This module defines: + +``PRODUCER_LIBRARY`` + +``PRODUCER_FOUND`` + if false, do not try to link to Producer +``PRODUCER_INCLUDE_DIR`` + where to find the headers + +``$PRODUCER_DIR`` is an environment variable that would correspond to:: -$PRODUCER_DIR is an environment variable that would correspond to the -./configure --prefix=$PRODUCER_DIR used in building osg. + ./configure --prefix=$PRODUCER_DIR -Created by Eric Wing. +used in building osg. #]=======================================================================] # Header files are presumed to be included like |