To address multiplatform development, and to take advantage of community build packages, I'm currently using anaconda (miniconda3) environments, for C++ development, that includes cmake, make, gcc and other development tools.
I'd like to know how can I use, anaconda environments with CLion on the build process.
Currently I've defined a toolchain, to point to the cmake executable under my anaconda development environment, also added the python interpreter as an anaconda environment (same as PyCharm).
Still after those settings, the cmake fails to find libraries that are defined in the conda environment.
The same does not occur when developing under console with the conda environment activate, cmake successfully configures and code successfully compiles.
Is there a way to use the anaconda environment in the cmake configure and build process?