简体   繁体   中英

how to know the find_package name in cmake?

I am had been forced to cmake and I am working with a lot of external APIs like OpenGL,Vulken and GLFW .. etc. I was using Makefiles very happily but then ....

now each time i had to use find_package for these API.I normaly google and Copy past it. But in practical life , How should I know what is name of that package ? like for OpenGL I had to use find_package(OpenGL REQUIRED) . How should I know it OpenGL and not OPENGL or opengl ? is there any convention ?

please help as I am noob and I am so tried with this cmake :(

CMake stock modules are listed in the documentation . For third-party packages consult the list of files installed by it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM