How to find specific/local files via CMake
- by Andreas Romeyke
Hello,
I have a problem with a locally installed library. In my project there is the xmlrpc++0.7-library:
myproject/
+-- xmlrpc++0.7/
+-- src/
I want that CMake fallbacks using the local xmlrpc++0.7 directory if not found otherwise. Two problems, the first one, find_path() or find_library() does not work with local dir. I used a…