So if this is the case, how does one "write correctly" the find/config
module so that both debug and release libraries are found? I've got a
library I depend on whose maintainer may not have built the best Find
module in the world. I've looked at
https://cmake.org/Wiki/CMake/Tutorials/How_to_create_a_ProjectConfig.cmake_file
already. It doesn't seem to address picking up both release and debug
libraries. I gather from another example that the goal is to create a
list of the form: optimized;foolib.lib;debug;foolibd.lib and provide
that in the FOO_LIBRARY variable?
--
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:
http://public.kitware.com/mailman/listinfo/cmake