Moved the FIND_PACKAGE(Boost) from the root CMakeLists.txt into the local Find scripts to avoid Boost check when not neccessary.

git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15094 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
Robert Osfield
2015-08-11 08:44:46 +00:00
parent 0874f126c0
commit 8f73ddc27d
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()