quote SDL2_LIBRARIES

This commit is contained in:
Roman Trapeznikov 2022-02-07 16:47:58 +03:00
parent 449fc296d5
commit 708490c0b1
No known key found for this signature in database
GPG Key ID: 89BED52F1E290F8D

View File

@ -45,7 +45,7 @@ if (HEADLESS)
set(SDL2_LIBRARIES "SDL2::SDL2")
endif ()
# Getting complaint about space at the end of this on ubuntu16.
string(STRIP ${SDL2_LIBRARIES} SDL2_LIBRARIES)
string(STRIP "${SDL2_LIBRARIES}" SDL2_LIBRARIES)
else ()
message(FATAL_ERROR "SDL2 not found")
endif ()