From 247d09a09d228adeccd038c4722f23bdb36f37c4 Mon Sep 17 00:00:00 2001 From: smallmodel <15067410+smallmodel@users.noreply.github.com> Date: Sat, 19 Aug 2023 23:29:23 +0200 Subject: [PATCH] Fixed strip on windows --- code/sdl/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()