Cleaned up CMake warning

This commit is contained in:
Robert Osfield 2012-02-24 10:56:48 +00:00
parent b4155dd817
commit f86efdcd31

View File

@ -193,8 +193,10 @@ IF(DYNAMIC_OPENSCENEGRAPH)
ADD_SUBDIRECTORY(osgviewerFOX)
ENDIF(FOX_FOUND)
IF (wxWidgets_FOUND AND (${CMAKE_BUILD_TYPE} STREQUAL "Release"))
ADD_SUBDIRECTORY(osgviewerWX)
IF (wxWidgets_FOUND AND CMAKE_BUILD_TYPE)
IF (${CMAKE_BUILD_TYPE} STREQUAL "Release")
ADD_SUBDIRECTORY(osgviewerWX)
ENDIF()
ENDIF()
IF (QT_FOUND AND NOT OSG_GLES1_AVAILABLE AND NOT OSG_GLES2_AVAILABLE AND NOT OSG_GL3_AVAILABLE)