Hi

 

I need to store multiple libraries in one cached variable. Do I still give
it type FILEPATH?

 

Thanks

Kris

 

PS: 

In case you want to know why. We use a superbuild and need to pass the
location of the external project's libraries to the dependent project. We
currently do that via a non-cached variable. However, our users are then
tempted to issue "make" (or whatever) in the subfolder of the dependent
project. If the location of the external project's libraries is not cached,
this seems to lead to unexpected behaviour. Alternative suggestions welcome.

-- 

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

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

Reply via email to