Hello, 

Let be a project A developed and distributed by organization AA. 
Let be another project B depending on A, developed by organization BB. B
calls find_package(A) in its CMakeLists.txt as to get the dependencies
libraries and includes. 

How should FindA.cmake be distributed ? 
Option 1: package A (eg. A.rpm) installs it in /usr/share/cmake/ (on Linux)
so that it is found by B or any other project that needs it.
Option 2: package A installs it in a more specific location such as
/opt/A/cmake. However, how would B find it ? 
Option 3: package A doesn't install it anywhere and we let the developers of
B download it manually. 

I would go for option 1 but I am not really sure what is the standard way. 

Thank you in advance
Barth

--
View this message in context: 
http://cmake.3232098.n2.nabble.com/Find-script-distribution-strategy-tp7301654p7301654.html
Sent from the CMake mailing list archive at Nabble.com.
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to