diff --git a/CMakeLists.txt b/CMakeLists.txt index 906ef7992d..bbe6ddb9cb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -315,10 +315,10 @@ set(SFML_FIND_VERSION TRUE) set(SFML_FIND_VERSION_MAJOR 1) set(SFML_FIND_VERSION_MINOR 5) include(FindSFML OPTIONAL) -if(SFML_FOUND AND SFML_VERSION_OK AND (SFML_VERSION_MAJOR EQUAL 1)) +if(SFML_FOUND AND (SFML_VERSION_MAJOR EQUAL 1)) message("Using shared SFML") else() - message("Shared (1.5 <= SFML < 2.0) not found, falling back to the static library") + message("Shared SFML < 2.0 not found, falling back to the static library") add_subdirectory(Externals/SFML) include_directories(Externals/SFML/include) endif()