You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
then at cmake configure time there'll be error like:
CMake Error at conan-android64-25/conan_toolchain.cmake:39 (include):
include called with invalid argument:
r27c/AndroidNDK12479018.app/Contents/NDK/build/cmake/android.toolchain.cmake
Call Stack (most recent call first):
/Users/kambala/dev/vcmi/build-android64/CMakeFiles/3.31.0/CMakeSystem.cmake:6 (include)
CMakeLists.txt:6 (project)
Embedding quotes inside the path also doesn't help:
conan install -c tools.android:ndk_path='"/Volumes/Android NDK r27c/AndroidNDK12479018.app/Contents/NDK"' ...
...
CMake Error at conan-android64-25/conan_toolchain.cmake:39 (include):
include requested file is a directory:
/Volumes/Android NDK r27c/AndroidNDK12479018.app/Contents/NDK
Call Stack (most recent call first):
/Users/kambala/dev/vcmi/build-android64/CMakeFiles/3.31.0/CMakeSystem.cmake:6 (include)
CMakeLists.txt:6 (project)
Adding the config to a profile instead results in exactly the same issues.
How to reproduce it
pass -c tools.android:ndk_path='/some/path with spaces' to conan install and check the generated toolchain file or try to configure a CMake project with it
The text was updated successfully, but these errors were encountered:
Describe the bug
macOS 14.7, Conan v2.9.2
If NDK path contains spaces, then it's inserted in the toolchain file as is and cmake doesn't like it of course. Example:
then at cmake configure time there'll be error like:
Embedding quotes inside the path also doesn't help:
Adding the config to a profile instead results in exactly the same issues.
How to reproduce it
pass
-c tools.android:ndk_path='/some/path with spaces'
toconan install
and check the generated toolchain file or try to configure a CMake project with itThe text was updated successfully, but these errors were encountered: