On Mon, 2019-06-17 at 13:47 +0000, Osman Zakir wrote: > I want to know how to specify the name of a library I file I want to > link against. How do I do this? I wanted to build a library with a > static runtime and static libs; it requires linking against a Boost > library which I did build with static runtime but when I tried to > build it, I had linker errors because the dynamic version of the > library was used instead of the static one. I want to somehow make > it use the static one. So yeah, how do I do this? Is there a way?
Are you using the FindBoost module? https://cmake.org/cmake/help/v3.14/module/FindBoost.html Kyle -- 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