static link to sdl2 lib on rpi
@@ -882,7 +882,7 @@ if(BUILD_SDL)
else()
if(EMSCRIPTEN)
elseif(RPI)
- target_link_libraries(${TIC80_OUTPUT} SDL2 bcm_host)
+ target_link_libraries(${TIC80_OUTPUT} libSDL2.a bcm_host)
else()
target_link_libraries(${TIC80_OUTPUT} SDL2-static)
endif()
@@ -999,7 +999,6 @@ elseif (LINUX)
if(RPI)
set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE armhf)
- set(CPACK_DEBIAN_PACKAGE_DEPENDS "libsdl2-2.0-0 (>= 2.0.9)")
endif()
install(CODE "set(CMAKE_INSTALL_LOCAL_ONLY true)")
