CMake uses pkg-config for finding the right libconfig++ flags, so if you can
get it to pick up your linker directory, you should be all set.
Alternatively, I think you can put linker options directly into the
target_link_libraries call.
I hope that helps,
Christian
Setting the LIBCONFIG_LDFLAGS cmake variable as:
LIBCONFIG_LDFLAGS="-L/usr/local/lib -lconfig++" should do it.
-Tomas
the -l switch take the name of the library, without the 'lib' prefix
or file extension. so to link libconfig++.so you specify -lconfig++
Hope that helps.
>
> In case in helps others, I'll mention that the LIBCONFIG_LDFLAGS
> setting is found by running ccmake and pressing "t" for advanced
> options.
Hmm. to me 't' is not required to see it . odd.
>
> Thank you both for your help, it is very much appreciated.
> -Ken
>
You're welcome.