I have created Code::Blocks project from cmake (with -G "CodeBlocks - Unix Makefiles")
It compiles, but when linking I get undefined reference. Where do I add libraries for this project?
When searching for help I found this:
https://wiki.codeblocks.org/index.php/FAQ-Compiling_(errors)#Q:_My_build_fails_with_multiple_undefined_reference_errors.3Fsaying "Most of the time it is because the required library is not linked with your project. Go to Project->Build options...->Linker settings (tab) and add the required library or libraries"
But I do not have any Linker settings tab there. All I have is "Pre/post build steps", "Custom variables" and "Make"commands. I think I have went through all the possible menu entries, but I can not find any project linker settings.
What am I missing?
(yes, I have seen the same title topic from yesterday, but the advice there is exactly the same as in the link above: go to project -> build options and then linker settings tab)
Code::Blocks 20.3, PCLinuxOS
This project compiles and builds fine in command line.