Skip to content

CMake: ignoring anaconda related folders

Fabian Reister requested to merge cmake_ignore_conda into master

As I'm using an Anaconda environment, I faced some issues wrt. CMake. Both Qt5 and OpenCV are installed in the Anaconda environment and as such, discovered by CMake which is undesired.

As a solution, I propose to add the conda env directory which can be obtained by the CONDA_PREFIX environment variable to CMAKE_IGNORE_PATH.

Merge request reports