Fixed FindSFML.cmake

This commit is contained in:
Laurent Gomila 2011-04-18 18:19:57 +02:00
parent 71469f1815
commit 17971ca198

View File

@ -132,7 +132,7 @@ foreach(FIND_SFML_COMPONENT ${SFML_FIND_COMPONENTS})
SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY_DEBUG)
# add to the global list of libraries
set(SFML_LIBRARIES "${SFML_LIBRARIES} ${SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY}")
set(SFML_LIBRARIES ${SFML_LIBRARIES} "${SFML_${FIND_SFML_COMPONENT_UPPER}_LIBRARY}")
endforeach()
# handle errors