From 5a8a1bc6a6b72aadcf32f046f8a30cbca773f9c0 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Sun, 21 Aug 2011 14:34:32 -0500 Subject: [PATCH] Try again. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()