Reputation: 366
If I give some libraries in target_link_libraries
(like GL, Glfw, glew), what is the default place, where cmake search for these libs?
For example:
target_link_libraries(aplication GL glfw GLEW)
Does Cmake search for these libs in the Path environment variable in Linux? Where can I find these libs?
Upvotes: 1
Views: 814
Reputation: 140970
From cmake target_link_libraries:
A plain library name: The generated link line will ask the linker to search for the library (e.g. foo becomes -lfoo or foo.lib).
Just to point you in the right direction as to what are the standard linker search paths, this post on unix.stackexchange explains it.
Upvotes: 1