diff --git a/CMakeLists.txt b/CMakeLists.txt index 2be36482..cbaeaae1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,5 +15,5 @@ find_package(SDL2 REQUIRED) include_directories(${SDL2_INCLUDE_DIRS} src) add_executable(SnakeGame src/main.cpp src/game.cpp src/controller.cpp src/renderer.cpp src/snake.cpp) -string(STRIP ${SDL2_LIBRARIES} SDL2_LIBRARIES) +string(STRIP "${SDL2_LIBRARIES}" SDL2_LIBRARIES) target_link_libraries(SnakeGame ${SDL2_LIBRARIES})