Try again.
This commit is contained in:
parent
faf6ce6d85
commit
5a8a1bc6a6
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue