[cmake] Fix build errors

Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
x7z4w
2025-11-23 16:41:52 +01:00
parent 92c2945897
commit e19e63930d

View File

@@ -222,10 +222,8 @@ if (PLATFORM_DESKTOP AND NOT WITH_SYSTEM_PROVIDED_3PARTY)
include_directories("${PROJECT_BINARY_DIR}/3party/gflags/include") include_directories("${PROJECT_BINARY_DIR}/3party/gflags/include")
endif() endif()
# Android fails to find boost in many cases, this fixes it. # Fix for #include <boost/regex.hpp>
if (PLATFORM_ANDROID) include_directories("${OMIM_ROOT}/3party/boost")
include_directories("${OMIM_ROOT}/3party/boost")
endif()
# Used in qt/ and shaders/ # Used in qt/ and shaders/
find_package(Python3 REQUIRED COMPONENTS Interpreter) find_package(Python3 REQUIRED COMPONENTS Interpreter)