提交 bcb00e31 编写于 作者: S Simon Fels

Add necessary dependency on SDL2 image

上级 ee105c39
......@@ -64,6 +64,7 @@ find_package(GLESv2 REQUIRED)
find_package(Protobuf REQUIRED)
pkg_check_modules(SDL2 sdl2 REQUIRED)
pkg_check_modules(SDL2_IMAGE SDL2_image REQUIRED)
pkg_check_modules(DBUS_CPP dbus-cpp REQUIRED)
pkg_check_modules(DBUS dbus-1 REQUIRED)
pkg_check_modules(LXC lxc REQUIRED)
......
......@@ -7,6 +7,7 @@ include_directories(
${DBUS_CPP_INCLUDE_DIRS}
${DBUS_INCLUDE_DIRS}
${SDL2_INCLUDE_DIRS}
${SDL2_IMAGE_INCLUDE_DIRS}
${LXC_INCLUDE_DIRS}
${MIRCLIENT_INCLUDE_DIRS}
${CMAKE_CURRENT_BINARY_DIR}
......@@ -217,6 +218,8 @@ target_link_libraries(anbox-core
${DBUS_CPP_LIBRARIES}
${SDL2_LDFLAGS}
${SDL2_LIBRARIES}
${SDL2_IMAGE_LDFLAGS}
${SDL2_IMAGE_LIBRARIES}
${LXC_LDFLAGS}
${LXC_LIBRARIES}
${MIRCLIENT_LDFLAGS}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册