diff --git a/CMakeLists.txt b/CMakeLists.txt index 6be710c5..2a8e7253 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -136,7 +136,7 @@ if( ENABLE_LINK ) if(WIN32) set(SFML_STATIC_LIBRARIES TRUE) endif(WIN32) - FIND_PACKAGE ( SFML 2 COMPONENTS network system ) + FIND_PACKAGE ( SFML 2 COMPONENTS network system REQUIRED ) endif( ENABLE_LINK ) # set the standard libraries all ports use