FS#51041 - [sdl2] trailing whitespace in sdl2-config.cmake file
Attached to Project:
Arch Linux
Opened by Willi Kahlmann (william) - Thursday, 29 September 2016, 20:04 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Thursday, 30 March 2017, 00:55 GMT
Opened by Willi Kahlmann (william) - Thursday, 29 September 2016, 20:04 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Thursday, 30 March 2017, 00:55 GMT
|
Details
Description:
The last line of /usr/lib/cmake/SDL2/sdl2-config.cmake is: set(SDL2_LIBRARIES "-L${SDL2_LIBDIR} -lSDL2 ") (trailing whitespace -> error with cmake compilation) Additional info: * package version(s) sdl2 2.0.4-2 * config and/or log files etc. - Steps to reproduce: CMakeLists.txt: find_package(SDL2 REQUIRED) include_directories(${SDL2_INCLUDE_DIRS}) link_libraries(${SDL2_LIBRARIES}) -> gives error about trailing whitspace removing the whitespace solved the issue. |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Thursday, 30 March 2017, 00:55 GMT
Reason for closing: Works for me
Additional comments about closing: I used your CMakeLists.txt and this doesn't appear to be an error for me. Reopen if this reappears.
Thursday, 30 March 2017, 00:55 GMT
Reason for closing: Works for me
Additional comments about closing: I used your CMakeLists.txt and this doesn't appear to be an error for me. Reopen if this reappears.
Comment by
Sven-Hendrik Haase (Svenstaro) -
Tuesday, 18 October 2016, 19:04 GMT
Please report a bug against upstream and link it here.