Skip to content

Commit 5baa935

Browse files
committed
Fix libSDL2.so not being copied
1 parent e8be095 commit 5baa935

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/SDL2.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ else()
7575
get_filename_component(FULL_LIB_PATH "${SDL2_LOCATION}" REALPATH)
7676
ADD_IMPORTED_LIB(sdl2 "${SDL2_ROOT_DIR}/include" "${FULL_LIB_PATH}")
7777

78-
file(GLOB SDL2_LIBS "${SDL2_ROOT_DIR}/lib/libSDL2-2*")
78+
file(GLOB SDL2_LIBS "${SDL2_ROOT_DIR}/lib/libSDL2*")
7979
add_target_copy_files("${SDL2_LIBS}")
8080
endif()
8181
endif()

0 commit comments

Comments
 (0)