[CMake] Find_Path problem

Wilfried Holzke cmake at holzke.net
Wed Oct 22 14:33:15 EDT 2008


Hi,

I have an library header file in
"/usr/include/libNAME-version/libNAME/name.h" and want to find the path.

I tried

FIND_PATH(INC_PATH libNAME/name.h /usr/include/libNAME-*/)

as INC_PATH I get "/usr/include/libNAME-version/libNAME/"

but I only need "/usr/include/libNAME-version/".

How can I get this to work?

Thanks for hints.

regards

  W. Holzke



More information about the CMake mailing list