Added if () block to avoid script variables set to NOT-Found being used in searching

git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14624 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
Robert Osfield 2014-12-19 08:27:30 +00:00
parent a03ec99005
commit dfc02b78bf

View File

@ -83,6 +83,8 @@ else()
) )
endif() endif()
if (GLIBCONFIG_INCLUDE_DIR)
set(GLIB_INCLUDE_DIRS ${GLIB_INCLUDE_DIR} ${GLIBCONFIG_INCLUDE_DIR}) set(GLIB_INCLUDE_DIRS ${GLIB_INCLUDE_DIR} ${GLIBCONFIG_INCLUDE_DIR})
# Version detection # Version detection
@ -134,3 +136,7 @@ mark_as_advanced(
GLIB_INCLUDE_DIRS GLIB_INCLUDE_DIRS
GLIB_LIBRARIES GLIB_LIBRARIES
) )
else()
endif ()