mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-04-06 00:32:05 +02: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/Preset.hpp"
|
||||
#include "libslic3r/Config.hpp"
|
||||
|
||||
Reference in New Issue
Block a user