@ -731,7 +731,9 @@ OPTION(BUILD_OSG_PLUGINS "Build OSG Plugins - Disable for compile testing exampl
mark_as_advanced ( BUILD_OSG_PLUGINS )
mark_as_advanced ( BUILD_OSG_PLUGINS )
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# 3 r d P a r t y D e p e n d e n c y S t u f f
# 3 r d P a r t y D e p e n d e n c y S t u f f
IF ( WIN32 AND NOT ANDROID )
OPTION ( OSG_FIND_3RD_PARTY_DEPS "Enable to search for Android or Windows dependencies in ./3rdparty" ON )
IF ( WIN32 AND NOT ANDROID AND OSG_FIND_3RD_PARTY_DEPS )
INCLUDE ( Find3rdPartyDependencies )
INCLUDE ( Find3rdPartyDependencies )
ENDIF ( )
ENDIF ( )
@ -742,7 +744,7 @@ OPTION(OSG_USE_LOCAL_LUA_SOURCE "Enable to use local Lua source when building th
# y o u c a n u s e t h e f o l l o w i n g s t y l e o f c o m m a n d l i n e o p t i o n w h e n i n v o k i n g Cmake ( here illustrating ignoring PythonLibs ) :
# y o u c a n u s e t h e f o l l o w i n g s t y l e o f c o m m a n d l i n e o p t i o n w h e n i n v o k i n g Cmake ( here illustrating ignoring PythonLibs ) :
# c m a k e - D C M A K E _ D I S A B L E _ F I N D _ P A C K A G E _ P y t h o n L i b s = 1 .
# c m a k e - D C M A K E _ D I S A B L E _ F I N D _ P A C K A G E _ P y t h o n L i b s = 1 .
#
#
IF ( ANDROID )
IF ( ANDROID AND OSG_FIND_3RD_PARTY_DEPS )
ANDROID_3RD_PARTY ( )
ANDROID_3RD_PARTY ( )
ELSE ( )
ELSE ( )
# C o m m o n t o a l l p l a t f o r m s e x c e p t a n d r o i d :
# C o m m o n t o a l l p l a t f o r m s e x c e p t a n d r o i d :
@ -819,7 +821,7 @@ ENDIF(BUILD_OSG_EXAMPLES AND NOT ANDROID)
# I m a g e r e a d e r s / w r i t e r s d e p e n d o n 3 r d p a r t y l i b r a r i e s e x c e p t f o r O S X w h i c h
# I m a g e r e a d e r s / w r i t e r s d e p e n d o n 3 r d p a r t y l i b r a r i e s e x c e p t f o r O S X w h i c h
# c a n u s e Q u i c k t i m e .
# c a n u s e Q u i c k t i m e .
IF ( NOT ANDROID )
IF ( NOT ( ANDROID AND OSG_FIND_3RD_PARTY_DEPS ) )
IF ( NOT APPLE )
IF ( NOT APPLE )
FIND_PACKAGE ( GIFLIB )
FIND_PACKAGE ( GIFLIB )
FIND_PACKAGE ( JPEG )
FIND_PACKAGE ( JPEG )