mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:59:06 +08:00
c5b5b4ea11
`rtabmap-res_tool` is moved to a separate port because it is a host dependency, and actual dependencies of `rtabmap` are heavy and non opt-out. Only minimal patching needed. Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
12 lines
514 B
Diff
12 lines
514 B
Diff
diff --git a/utilite/resource_generator/CMakeLists.txt b/utilite/resource_generator/CMakeLists.txt
|
|
index 82f1253..eedab31 100644
|
|
--- a/utilite/resource_generator/CMakeLists.txt
|
|
+++ b/utilite/resource_generator/CMakeLists.txt
|
|
@@ -1,5 +1,5 @@
|
|
|
|
-if (CMAKE_CROSSCOMPILING OR ANDROID OR IOS)
|
|
+if (RTABMAP_RES_TOOL)
|
|
# See this page about tools being required in the build:
|
|
# https://gitlab.kitware.com/cmake/community/-/wikis/doc/cmake/CrossCompiling#using-executables-in-the-build-created-during-the-build
|
|
|