From 6cf1db199cdfa99335dd39cb420e6a8aa8bbbf9c Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 22 Dec 2014 10:35:30 +0000 Subject: [PATCH] Added comment about using -DCMAKE_DISABLE_FINDPACKAGE_* command line. git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.2@14631 16af8721-9629-0410-8352-f15c8da7e697 --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2055bbba0..da4d837d1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -527,6 +527,12 @@ IF(WIN32 AND NOT ANDROID) INCLUDE(Find3rdPartyDependencies) ENDIF() +# +# If you want to prevent CMake from picking up on any of the following optional 3rd Party dependencies in CMake 2.8 onwards +# you can use the following style of command line option when invoking Cmake (here illustrating ignoring PythonLibs) : +# cmake -DCMAKE_DISABLE_FIND_PACKAGE_PythonLibs=1 . +# + IF(ANDROID) ANDROID_3RD_PARTY() ELSE()