add_executable(hecl main.cpp ToolBase.hpp ToolPackage.hpp ToolExtract.hpp ToolInit.hpp ToolHelp.hpp ToolGroup.hpp ToolCook.hpp ToolClean.hpp ToolAdd.hpp ToolRemove.hpp ToolSpec.hpp ../DataSpecRegistry.hpp ) list(APPEND DATA_SPEC_LIBS RetroDataSpec DNAMP3 DNAMP2 DNAMP1 DNACommon) if(NOT WIN32) list(APPEND PLAT_LIBS pthread) endif() target_link_libraries(hecl ${DATA_SPEC_LIBS} HECLDatabase HECLBlender HECLCommon AthenaCore NOD LogVisor AthenaLibYaml ${PNG_LIB} squish blowfish ${ZLIB_LIBRARIES} ${LZO_LIB} ${PLAT_LIBS})