markcox / libproxy

Automatically exported from code.google.com/p/libproxy
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Findlibproxy.cmake installed in unsuitable directory #205

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. cd /path/to/libproxy/source && mkdir build && cd build && cmake ..
2. make && make install
3. ls /usr/share/cmake/Modules

What is the expected output? What do you see instead?

I see that libproxy has installed Findlibproxy.cmake there. This shouldn't be 
the case because the directory is possibly owned by the cmake package (some 
systems have special cmake-MAJOR.MINOR directories as well). 

http://cmake.org/cmake/help/v2.8.12/cmake.html#command:find_package provides a 
list of directories where cmake is looking for a file when find_package is used.

Findlibproxy.cmake should be in one of them.

Also, Findlibproxy.cmake should also be installed on Windows systems.

What version of the product are you using? On what operating system?

Not relevant.

Original issue reported on code.google.com by bootsare...@gmail.com on 13 Feb 2014 at 2:40

GoogleCodeExporter commented 9 years ago
After a cursory look ${LIB_INSTALL_DIR} should be the right place.

Original comment by bootsare...@gmail.com on 13 Feb 2014 at 2:46