@ -221,6 +221,7 @@ if(OSG_STATIC)
# F o r n o w , u s e r s w i s h i n g t o d o a s t a t i c b u i l d w i l l n e e d t o p a s s t h e p a t h t o w h e r e t h e p l u g i n s r e s i d e
# F o r n o w , u s e r s w i s h i n g t o d o a s t a t i c b u i l d w i l l n e e d t o p a s s t h e p a t h t o w h e r e t h e p l u g i n s r e s i d e
# M o r e c l e v e r l o g i c w o u l d n e e d t o d e d u c e t h e p a t h , p r o b a b l y i n s t a l l e d u n d e r < O p e n S c e n e G r a p h > / l i b / o s g P l u g i n s - < X . X . X >
# M o r e c l e v e r l o g i c w o u l d n e e d t o d e d u c e t h e p a t h , p r o b a b l y i n s t a l l e d u n d e r < O p e n S c e n e G r a p h > / l i b / o s g P l u g i n s - < X . X . X >
include ( FindPkgMacros )
find_library ( ${ PLUGIN_NAME } _LIBRARY_REL NAMES ${ PLUGIN_NAME } HINTS ${ OSG_PLUGIN_LIB_SEARCH_PATH } )
find_library ( ${ PLUGIN_NAME } _LIBRARY_REL NAMES ${ PLUGIN_NAME } HINTS ${ OSG_PLUGIN_LIB_SEARCH_PATH } )
find_library ( ${ PLUGIN_NAME } _LIBRARY_DBG NAMES ${ PLUGIN_NAME_DBG } HINTS ${ OSG_PLUGIN_LIB_SEARCH_PATH } )
find_library ( ${ PLUGIN_NAME } _LIBRARY_DBG NAMES ${ PLUGIN_NAME_DBG } HINTS ${ OSG_PLUGIN_LIB_SEARCH_PATH } )
make_library_set ( ${ PLUGIN_NAME } _LIBRARY )
make_library_set ( ${ PLUGIN_NAME } _LIBRARY )