summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2011-08-21 14:34:32 -0500
committerJordan Woyak <jordan.woyak@gmail.com>2011-08-21 14:34:32 -0500
commit5a8a1bc6a6b72aadcf32f046f8a30cbca773f9c0 (patch)
treeb169122b7549a5c4914f1d6c529dac1ca3c6c609
parentfaf6ce6d85a9334c9c1a030270af931a1feb89c6 (diff)
Try again.
-rw-r--r--CMakeLists.txt4
1 files 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()