fix: correct Android CMAKE_FIND_ROOT_PATH_MODE_PACKAGE value (#2547)

Change Android CMAKE_FIND_ROOT_PATH_MODE_PACKAGE from ONLY to BOTH
This commit is contained in:
Malcolm Smith
2025-08-11 10:49:48 -04:00
committed by GitHub
parent 47c5a31c1b
commit 78a246a901
+1 -1
View File
@@ -278,7 +278,7 @@ def create_cmake_toolchain(
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE BOTH)
"""
),
file=toolchain_file,