How to create window in C++?

In CMake I think it’s more something like target_link_libraries.