Add CMake option to not build deprecated serializers
This commit is contained in:
parent
71bf79cf6f
commit
94061aa9fb
@ -26,15 +26,16 @@ FOREACH( mylibfolder
|
|||||||
osgTerrain
|
osgTerrain
|
||||||
osgWidget
|
osgWidget
|
||||||
osgPresentation
|
osgPresentation
|
||||||
|
osgWrappers/serializers
|
||||||
|
osgPlugins
|
||||||
)
|
)
|
||||||
|
|
||||||
ADD_SUBDIRECTORY(${mylibfolder})
|
ADD_SUBDIRECTORY(${mylibfolder})
|
||||||
|
|
||||||
ENDFOREACH()
|
ENDFOREACH()
|
||||||
|
|
||||||
IF(BUILD_OSG_PLUGINS)
|
OPTION(BUILD_OSG_DEPRECATED_SERIALIZERS "Build deprecated .osg serializers" ON)
|
||||||
ADD_SUBDIRECTORY(osgWrappers/serializers)
|
|
||||||
ADD_SUBDIRECTORY(osgWrappers/deprecated-dotosg)
|
|
||||||
ADD_SUBDIRECTORY(osgPlugins)
|
|
||||||
ENDIF(BUILD_OSG_PLUGINS)
|
|
||||||
|
|
||||||
|
if(BUILD_OSG_DEPRECATED_SERIALIZERS)
|
||||||
|
ADD_SUBDIRECTORY(osgWrappers/deprecated-dotosg)
|
||||||
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user