From 2379551abe5f6f5ab250e14b88649e5ac36f6b2a Mon Sep 17 00:00:00 2001 From: kervala Date: Fri, 3 Sep 2010 23:09:44 +0200 Subject: [PATCH] Fixed: make_anim_melee_impact compilation --- code/ryzom/tools/make_anim_melee_impact/CMakeLists.txt | 5 +---- code/ryzom/tools/make_anim_melee_impact/main.cpp | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/code/ryzom/tools/make_anim_melee_impact/CMakeLists.txt b/code/ryzom/tools/make_anim_melee_impact/CMakeLists.txt index 770fc15fc..8fc0e87a4 100644 --- a/code/ryzom/tools/make_anim_melee_impact/CMakeLists.txt +++ b/code/ryzom/tools/make_anim_melee_impact/CMakeLists.txt @@ -2,10 +2,7 @@ FILE(GLOB SRC *.cpp *.h) ADD_EXECUTABLE(make_anim_melee_impact ${SRC}) -INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${NEL_INCLUDE_DIR}) -TARGET_LINK_LIBRARIES(make_anim_melee_impact ${PLATFORM_LINKFLAGS} ${LIBXML2_LIBRARIES} ${NELMISC_LIBRARY}) -ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) - +TARGET_LINK_LIBRARIES(make_anim_melee_impact ${PLATFORM_LINKFLAGS} nelmisc) NL_DEFAULT_PROPS(make_anim_melee_impact "Ryzom, Tools, Misc: Make Anim Melee Impact") NL_ADD_RUNTIME_FLAGS(make_anim_melee_impact) diff --git a/code/ryzom/tools/make_anim_melee_impact/main.cpp b/code/ryzom/tools/make_anim_melee_impact/main.cpp index 738c5d471..30895517d 100644 --- a/code/ryzom/tools/make_anim_melee_impact/main.cpp +++ b/code/ryzom/tools/make_anim_melee_impact/main.cpp @@ -91,7 +91,7 @@ void makeAnimMeleeImpact(const std::string &animSetFile, const set::iterator it= combatAnimSets.find(key); + set::const_iterator it= combatAnimSets.find(key); if(it == combatAnimSets.end()) return;