some changes regarding static building via mingw

This commit is contained in:
wowzaman12 2015-05-21 18:42:02 +00:00
parent e202a3994f
commit 09e485dcad
1 changed files with 3 additions and 0 deletions

View File

@ -67,6 +67,9 @@ FIND_PACKAGE ( OpenGL REQUIRED )
FIND_PACKAGE ( SDL REQUIRED )
if( ENABLE_LINK )
if( WIN32 )
set(SFML_STATIC_LIBRARIES TRUE)
endif( WIN32 )
FIND_PACKAGE ( SFML 2 COMPONENTS network system )
endif( ENABLE_LINK )
# set the standard libraries all ports use