CMake - initial cache
Hi
Our project is based on CMake.
When we invoke cmake, we always pass the initial cache file using the -C command line argument. It won't work without it because some variables are not set.
When I tried to import to CLion (CL-140.1221.2 on Linux) it obviously reports the same erros as I run cmake without the -C option.
Is there any way to make this work?
Thank you
Martin
请先登录再写评论。
I was able to fix this by placing the "include" command in the root CMakeLists.txt file.
Still curious if there is another way around this.
Thanks
Martin
Not yet, but we plan to add it