Try again.

This commit is contained in:
Jordan Woyak 2011-08-21 14:34:32 -05:00
parent faf6ce6d85
commit 5a8a1bc6a6
1 changed files with 2 additions and 2 deletions

View File

@ -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()