mirror of
https://github.com/microsoft/vcpkg.git
synced 2026-01-18 01:11:23 +01:00
53 lines
1.6 KiB
Diff
53 lines
1.6 KiB
Diff
diff --git a/common/rendering.h b/common/rendering.h
|
|
index ed0b525..a36b5ff 100644
|
|
--- a/common/rendering.h
|
|
+++ b/common/rendering.h
|
|
@@ -233,7 +233,7 @@ namespace rs2
|
|
// Simple font loading code //
|
|
//////////////////////////////
|
|
|
|
-#include "../third-party/stb_easy_font.h"
|
|
+#include <stb_easy_font.h>
|
|
|
|
inline void draw_text(int x, int y, const char * text)
|
|
{
|
|
diff --git a/src/proc/color-formats-converter.cpp b/src/proc/color-formats-converter.cpp
|
|
index f0a54ba..13411fe 100644
|
|
--- a/src/proc/color-formats-converter.cpp
|
|
+++ b/src/proc/color-formats-converter.cpp
|
|
@@ -9,7 +9,7 @@
|
|
|
|
#define STB_IMAGE_STATIC
|
|
#define STB_IMAGE_IMPLEMENTATION
|
|
-#include "../third-party/stb_image.h"
|
|
+#include <stb_image.h>
|
|
|
|
#ifdef RS2_USE_CUDA
|
|
#include "cuda/cuda-conversion.cuh"
|
|
diff --git a/tools/convert/converters/converter-png.hpp b/tools/convert/converters/converter-png.hpp
|
|
index fcfd6ce..adbb1e6 100644
|
|
--- a/tools/convert/converters/converter-png.hpp
|
|
+++ b/tools/convert/converters/converter-png.hpp
|
|
@@ -7,7 +7,7 @@
|
|
|
|
// 3rd party header for writing png files
|
|
#define STB_IMAGE_WRITE_IMPLEMENTATION
|
|
-#include <third-party/stb_image_write.h>
|
|
+#include <stb_image_write.h>
|
|
|
|
#include "../converter.hpp"
|
|
|
|
diff --git a/tools/embed/CMakeLists.txt b/tools/embed/CMakeLists.txt
|
|
index 4fd9aa1..951bfa6 100644
|
|
--- a/tools/embed/CMakeLists.txt
|
|
+++ b/tools/embed/CMakeLists.txt
|
|
@@ -19,6 +19,8 @@ target_link_libraries(rs-embed PRIVATE lz4::lz4)
|
|
target_link_libraries( rs-embed PRIVATE tclap )
|
|
set_target_properties (rs-embed PROPERTIES FOLDER Tools)
|
|
|
|
+find_package(Stb REQUIRED)
|
|
+target_include_directories(rs-embed PRIVATE "${Stb_INCLUDE_DIR}")
|
|
|
|
install(
|
|
TARGETS
|