Re: [CMake] cmake with vscode

2019-02-05 Thread Robert Maynard via CMake
CMAKE_FIND_ROOT_PATH isn't meant to be used like that, you should use CMAKE_PREFIX_PATH I expect. ROOT_PATH represents the root of a new file-system/OS basically and is meant for cross-compilation. While what you want is extra directories to start searching from which is what CMAKE_PREFIX_PATH is

[CMake] cmake with vscode

2019-01-22 Thread Stéphane Ancelot
Hi, I have got some problems finding packages under windows platform. I made a toolchain for VSCode and cmake 3.13 , but I don't understand why it fails to find almost all of my packages dependencies It is not able to find packages in the CMAKE_FIND_ROOT_PATH itself. If I try setting xx_LIBR