Skip to content

Commit

Permalink
Link static libxml instead of including its files in build.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterix committed Mar 13, 2012
1 parent 9640263 commit a80abe8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
PROJECT (df2mc)

SET(PROJECT_SRCS
${dfhack_SOURCE_DIR}/library/depends/tinyxml/tinystr.cpp
${dfhack_SOURCE_DIR}/library/depends/tinyxml/tinyxml.cpp
${dfhack_SOURCE_DIR}/library/depends/tinyxml/tinyxmlerror.cpp
${dfhack_SOURCE_DIR}/library/depends/tinyxml/tinyxmlparser.cpp
source/df2minecraft.cpp
)

DFHACK_PLUGIN(df2minecraft ${PROJECT_SRCS} LINK_LIBRARIES ${ZLIB_LIBRARIES})
DFHACK_PLUGIN(df2minecraft ${PROJECT_SRCS} LINK_LIBRARIES ${ZLIB_LIBRARIES} dfhack-tinyxml)

INSTALL(FILES df2mc.xml DESTINATION ${DFHACK_DATA_DESTINATION})
2 changes: 1 addition & 1 deletion source/df2minecraft.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ This source code has a project at:
#include "Export.h"
#include "PluginManager.h"
#include <TileTypes.h>
#include <tinyxml/tinyxml.h>
#include <tinyxml.h>

#include <zlib.h>
#include <modules/Maps.h>
Expand Down

0 comments on commit a80abe8

Please sign in to comment.