cmake issue
Hi,
I have a strange issue with cmake from within CLion: it can't create a valid Makefile. My system is OSX 10.10 with CLion 140.1740.3.
A build run from within the IDE always ends up like this:
"/Applications/CLion EAP.app/Contents/bin/cmake/bin/cmake" --build /Users/carsten/Library/Caches/clion10/cmake/generated/f7d128fd/f7d128fd/Debug --target test -- -j 4
CMakeFiles/test.dir/build.make:53: *** target pattern contains no `%'. Stop.
make[2]: *** [CMakeFiles/test.dir/all] Error 2
make[1]: *** [CMakeFiles/test.dir/rule] Error 2
make: *** [test] Error 2
When I'm using cmake outside the IDE with the same CMakeLists.txt, all is working well, also with CLion's own cmake - just not from the IDE.
Any ideas?
Regards
Carsten
Please sign in to leave a comment.
Hi,
Please attach your CMakeLists.txt.
Hi Vyacheslav,
thank you for replying.
Actually, I solved my problem already. Reason was that one directory name in the path to my project contained a colon, which caused CMake to stumble.
Once the directory got a new name, all worked well.
Thanks & regards
Carsten