I'm new to CMAKE
and now I'm trying to build a C++
library and faced some problem.
I'm trying to understand how does PKG_CHECK_MODULES (3RD_PARTY_LIB REQUIRED stream)
work. I read the documentation and it is said:
When the ‘REQUIRED’ argument was set, macros will fail with an error when module(s) could not be found
The thing is there should be no stream
module installed, but the PKG_CHECK_MODULES
does not fail. I added the following
MESSAGE("\n3RD_PARTY_LIB_INCLUDE_DIRS = ${3RD_PARTY_LIB_INCLUDE_DIRS}\n")
and it prints the following
3RD_PARTY_LIB_INCLUDE_DIRS = /home/rjtor/work/libsrv/3rdp/stream/include
But the directory /home/rjtor/work/libsrv/3rdp/stream/include
does not really exist.
Is there a way to check why is the module stream
in the example found? How to check where is it located?