mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-31 05:03:22 +08:00
015b6f88e7
* Add RmlUi port * Update versions * Fix uwp build * Update versions * Add maintainers to manifest * Update version * Update ports/rmlui/portfile.cmake Co-authored-by: Noam Chitayat <noam-c@users.noreply.github.com> * - Update to RmlUi 4.1, fixes some issues with missing dependencies. - Add robin-hood-hashing as dependency, replacing built-in copy. - Only need FreeType core. - Static library definition now replaced in-source. * Fix config name * Change source in current packages directory * Use robin_hood.h included from vcpkg * Move source modifications to robin_hood patch * Fix path in patch Co-authored-by: Noam Chitayat <noam-c@users.noreply.github.com>
39 lines
1.5 KiB
Diff
39 lines
1.5 KiB
Diff
diff --git a/CMake/FileList.cmake b/CMake/FileList.cmake
|
|
index 9c3042c..c3820df 100644
|
|
--- a/CMake/FileList.cmake
|
|
+++ b/CMake/FileList.cmake
|
|
@@ -133,7 +133,6 @@ set(Core_PUB_HDR_FILES
|
|
${PROJECT_SOURCE_DIR}/Include/RmlUi/Core/ComputedValues.h
|
|
${PROJECT_SOURCE_DIR}/Include/RmlUi/Core/Containers/chobo/flat_map.hpp
|
|
${PROJECT_SOURCE_DIR}/Include/RmlUi/Core/Containers/chobo/flat_set.hpp
|
|
- ${PROJECT_SOURCE_DIR}/Include/RmlUi/Core/Containers/robin_hood.h
|
|
${PROJECT_SOURCE_DIR}/Include/RmlUi/Core/Context.h
|
|
${PROJECT_SOURCE_DIR}/Include/RmlUi/Core/ContextInstancer.h
|
|
${PROJECT_SOURCE_DIR}/Include/RmlUi/Core/ConvolutionFilter.h
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 62432f1..d9287c9 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -387,6 +387,8 @@ if( ENABLE_SVG_PLUGIN )
|
|
message("-- Can SVG plugin be enabled - yes - lunasvg library found")
|
|
endif()
|
|
|
|
+find_path(ROBIN_HOOD_INCLUDE_DIR robin_hood.h)
|
|
+include_directories(${ROBIN_HOOD_INCLUDE_DIR})
|
|
|
|
if(NOT BUILD_FRAMEWORK)
|
|
#===================================
|
|
diff --git a/Include/RmlUi/Config/Config.h b/Include/RmlUi/Config/Config.h
|
|
index dc42753..5249e1d 100644
|
|
--- a/Include/RmlUi/Config/Config.h
|
|
+++ b/Include/RmlUi/Config/Config.h
|
|
@@ -57,7 +57,7 @@
|
|
#else
|
|
#include "../Core/Containers/chobo/flat_map.hpp"
|
|
#include "../Core/Containers/chobo/flat_set.hpp"
|
|
-#include "../Core/Containers/robin_hood.h"
|
|
+#include <robin_hood.h>
|
|
#endif // RMLUI_NO_THIRDPARTY_CONTAINERS
|
|
|
|
namespace Rml {
|