mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 00:52:04 +00:00
Fix OrcaSlicer_profile_validator link error with undefined nsvg symbols
When ORCA_TOOLS is enabled, the profile_validator target links libslic3r which uses nsvg functions, but no translation unit in its link set defines NANOSVG_IMPLEMENTATION. Add it to the validator source file.
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
#define NANOSVG_IMPLEMENTATION
|
||||||
|
#include "nanosvg/nanosvg.h"
|
||||||
#include "libslic3r/GCode.hpp"
|
#include "libslic3r/GCode.hpp"
|
||||||
#include "libslic3r/Preset.hpp"
|
#include "libslic3r/Preset.hpp"
|
||||||
#include "libslic3r/Config.hpp"
|
#include "libslic3r/Config.hpp"
|
||||||
|
|||||||
Reference in New Issue
Block a user