diff --git a/code/sdl/CMakeLists.txt b/code/sdl/CMakeLists.txt index 303a5fac..27c9e804 100644 --- a/code/sdl/CMakeLists.txt +++ b/code/sdl/CMakeLists.txt @@ -16,7 +16,7 @@ if(WIN32) find_package(SDL2) if (SDL2_FOUND) - string(STRIP ${SDL2_LIBRARIES} SDL2_LIBRARIES) + string(STRIP "${SDL2_LIBRARIES}" SDL2_LIBRARIES) target_include_directories(omohsdl PUBLIC ${SDL2_INCLUDE_DIRS}) target_link_libraries(omohsdl PRIVATE ${SDL2_LIBRARIES}) else()