Fixed strip on windows

This commit is contained in:
smallmodel 2023-08-19 23:29:23 +02:00
parent 030b291af1
commit 247d09a09d
No known key found for this signature in database
GPG key ID: A96F163ED4891440

View file

@ -16,7 +16,7 @@ if(WIN32)
find_package(SDL2) find_package(SDL2)
if (SDL2_FOUND) if (SDL2_FOUND)
string(STRIP ${SDL2_LIBRARIES} SDL2_LIBRARIES) string(STRIP "${SDL2_LIBRARIES}" SDL2_LIBRARIES)
target_include_directories(omohsdl PUBLIC ${SDL2_INCLUDE_DIRS}) target_include_directories(omohsdl PUBLIC ${SDL2_INCLUDE_DIRS})
target_link_libraries(omohsdl PRIVATE ${SDL2_LIBRARIES}) target_link_libraries(omohsdl PRIVATE ${SDL2_LIBRARIES})
else() else()