Moved FIND_PACKAGE(Boost) to within the individual Find scripts that actually need it rather in the root CMakeLists.txt.

git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15093 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
Robert Osfield
2015-08-11 08:43:40 +00:00
parent b964c53445
commit 41f284b678
4 changed files with 14 additions and 9 deletions

View File

@@ -266,7 +266,7 @@ ADD_SUBDIRECTORY(osc)
ADD_SUBDIRECTORY(trk)
ADD_SUBDIRECTORY(tf)
IF(Boost_INCLUDE_DIR AND LIBLAS_FOUND)
IF(LIBLAS_FOUND)
ADD_SUBDIRECTORY(las)
ENDIF()