diff --git a/cmake/Modules/FindSFML.cmake b/cmake/Modules/FindSFML.cmake index 5702c5bb..b616b146 100644 --- a/cmake/Modules/FindSFML.cmake +++ b/cmake/Modules/FindSFML.cmake @@ -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