Le mer. 31 juil. 2019 à 11:19, Stephan Menzel a
écrit :
> Thank you, Eric and Ugesh,
>
> Am Mi., 31. Juli 2019 um 09:16 Uhr schrieb Eric Doenges >:
>
>> My experience has been that find_file and friends behave in unexpected
>> ways when you set CMAKE_SYSROOT. In our toolchain files, we set
>> se
Thank you, Eric and Ugesh,
Am Mi., 31. Juli 2019 um 09:16 Uhr schrieb Eric Doenges :
> My experience has been that find_file and friends behave in unexpected
> ways when you set CMAKE_SYSROOT. In our toolchain files, we set
> set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
> set(CMAKE_FIND_ROOT_PATH
Hi,
Sorry a small correction.
There is no such thing as "NO_CMAKE_SYSROOT".
find_file(AWSSDK_CORE_HEADER_FILE Aws.h
"${AWSSDK_ROOT_DIR}/${AWSSDK_INSTALL_INCLUDEDIR}/aws/core"
"${AWSSDK_DEFAULT_ROOT_DIR}/${AWSSDK_INSTALL_INCLUDEDIR}/aws/core"
NO_CMAKE_FIND_ROOT_PATH
*
Hi,
I also have the same issue with find_file/find_path/find_package when I use
the Android NDK and Eric's explanation make sense.
One way to solve this
find_file(AWSSDK_CORE_HEADER_FILE Aws.h
"${AWSSDK_ROOT_DIR}/${AWSSDK_INSTALL_INCLUDEDIR}/aws/core"
"${AWSSDK_DEFAULT_ROOT_DIR}/${A
Am 31.07.19 um 08:20 schrieb Stephan Menzel:
Hello all,
I'm trying to adapt my CMake based toolchain to Android and I'm
noticing very strange behavior that I'd like to ask about.
My toolchain is C++ based with some dependencies such as Boost,
OpenSSL or protobuf. So far it works on a variety o
Hello all,
I'm trying to adapt my CMake based toolchain to Android and I'm noticing
very strange behavior that I'd like to ask about.
My toolchain is C++ based with some dependencies such as Boost, OpenSSL or
protobuf. So far it works on a variety of platforms such as Windows (MSVC),
several Linux