mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 20:03:47 +00:00
Fix tests build errors on Mac
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -17,6 +17,7 @@ xs/assertlib*
|
|||||||
local-lib
|
local-lib
|
||||||
/src/TAGS
|
/src/TAGS
|
||||||
/.vscode/
|
/.vscode/
|
||||||
|
/.vscode
|
||||||
build-linux/*
|
build-linux/*
|
||||||
deps/build*/*
|
deps/build*/*
|
||||||
**/.DS_Store
|
**/.DS_Store
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
#include <catch_main.hpp>
|
#include <catch_main.hpp>
|
||||||
|
|
||||||
#include "libslic3r/libslic3r.h"
|
#include "libslic3r/libslic3r.h"
|
||||||
|
#define NANOSVG_IMPLEMENTATION
|
||||||
|
#include "nanosvg/nanosvg.h"
|
||||||
|
#define NANOSVGRAST_IMPLEMENTATION
|
||||||
|
#include "nanosvg/nanosvgrast.h"
|
||||||
@@ -1,7 +1,10 @@
|
|||||||
#include <catch_main.hpp>
|
#include <catch_main.hpp>
|
||||||
|
|
||||||
#include "libslic3r/Utils.hpp"
|
#include "libslic3r/Utils.hpp"
|
||||||
|
#define NANOSVG_IMPLEMENTATION
|
||||||
|
#include "nanosvg/nanosvg.h"
|
||||||
|
#define NANOSVGRAST_IMPLEMENTATION
|
||||||
|
#include "nanosvg/nanosvgrast.h"
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
TEST_CASE("sort_remove_duplicates", "[utils]") {
|
TEST_CASE("sort_remove_duplicates", "[utils]") {
|
||||||
|
|||||||
Reference in New Issue
Block a user