I am implementing CMake in my code but I\'m getting the error
\"Cannot specify link libraries for target \"Qt5::Widgets\" which is not built by the p
Also, do not confuse target name with the project name:
project
add_executable
add_library
add_custom_target
The error message is about the target.