This is the code that is tested. Not the code in ${Mir_SOURCE_DIR}/src/client/CMakeLists.txt that generates the real mirclient.pc. Similarly the mirserver.pc code.
I'm not sure what the right way to test is, but cut, paste & edit of the code setting these variables before configure_file() isn't enough.
50 +set(LIBDIR ${Mir_BINARY_ DIR}/lib) DIR}/include/ client) INCLUDEDIR ${Mir_SOURCE_ DIR}/include/ shared) file(${ Mir_SOURCE_ DIR}/src/ client/ mirclient. pc.in ent_BINARY_ DIR}/mirclient. pc) PKG_CONFIG_ PATH} ${StandaloneCli ent_BINARY_ DIR})
51 +set(INCLUDEDIR ${Mir_SOURCE_
52 +set(COMMON_
53 +configure_
54 + ${StandaloneCli
55 +set(ENV{
This is the code that is tested. Not the code in ${Mir_SOURCE_ DIR}/src/ client/ CMakeLists. txt that generates the real mirclient.pc. Similarly the mirserver.pc code.
I'm not sure what the right way to test is, but cut, paste & edit of the code setting these variables before configure_file() isn't enough.