git repos / saland

commit 874ce6d4

sago007 · 2017-07-10 20:54
874ce6d44230c79a850494b2a104ff4e9d1e7b37 patch · browse files
parent 8ef1b75499f276e7f734426579ef0cd1b4af000b

We no longer need libxml2. Remove it from the list. Also remove it from the Dockerfile

Changed files

M CMakeLists.txt before
M extra/docker/Dockerfile before
diff --git a/CMakeLists.txt b/CMakeLists.txt index c7ecfb3..023d281 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -18,10 +18,6 @@ pkg_search_module(SDL2IMAGE REQUIRED SDL2_image)
pkg_search_module(SDL2TTF REQUIRED SDL2_ttf)
pkg_search_module(SDL2GFX REQUIRED SDL2_gfx)
-
-pkg_search_module(XML2 REQUIRED libxml-2.0)
-include_directories(${XML2_INCLUDE_DIRS})
-
include_directories("src/Libs/include")
file(GLOB SOURCES "src/*.cpp" "src/*/*.cpp" "src/Libs/*.c")
@@ -31,5 +27,4 @@ add_executable(saland ${SOURCES})
TARGET_LINK_LIBRARIES( saland ${Boost_LIBRARIES} )
target_link_libraries( saland ${SDL2_LIBRARY})
target_link_libraries( saland physfs z b64)
-target_link_libraries( saland ${XML2_LIBRARIES})
target_link_libraries( saland ${SDL2MIXER_LIBRARIES} ${SDL2IMAGE_LIBRARIES} ${SDL2TTF_LIBRARIES} ${SDL2GFX_LIBRARIES})
diff --git a/extra/docker/Dockerfile b/extra/docker/Dockerfile index cfdd778..0a17459 100644 --- a/extra/docker/Dockerfile +++ b/extra/docker/Dockerfile
@@ -1,7 +1,7 @@
FROM ubuntu:16.04
-RUN apt-get update && apt-get install -y build-essential libphysfs-dev librapidxml-dev libb64-dev libboost-dev cmake libsdl2-dev libsdl2-image-dev \
-libsdl2-gfx-dev libsdl2-mixer-dev libsdl2-ttf-dev libboost-program-options-dev libutfcpp-dev libxml2-dev zip gettext
+RUN apt-get update && apt-get install -y build-essential libphysfs-dev libb64-dev libboost-dev cmake libsdl2-dev libsdl2-image-dev \
+libsdl2-gfx-dev libsdl2-mixer-dev libsdl2-ttf-dev libboost-program-options-dev libutfcpp-dev zip gettext
RUN mkdir -p /staging/saland