1
General / Problems with new FindSFML.cmake
« on: April 18, 2011, 03:16:40 pm »
Hi there,
When using the new FindSFML.cmake in our cmake script, the following error occurs:
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.
When using the new FindSFML.cmake in our cmake script, the following error occurs:
Code: [Select]
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.