Hi there,
When using the new FindSFML.cmake in our cmake script, the following error occurs:
SFML_LIBRARIES = /usr/lib/libsfml-graphics.so /usr/lib/libsfml-system.so /usr/lib/libsfml-audio.so /usr/lib/libsfml-window.so
...
CMake Error at src/CMakeLists.txt:42 (add_executable):
Target "mars" links to item " /usr/lib/libsfml-graphics.so
/usr/lib/libsfml-system.so /usr/lib/libsfml-audio.so
/usr/lib/libsfml-window.so" which has leading or trailing whitespace. This
is now an error according to policy CMP0004.
It seems that the library names lack the ";".
Is this a bug in the script or are we using it wrong?
Cmake version is 2.8.2.