Re: [CMake] cmake install target doesn't run ldconfig after installing library

2016-06-19 Thread Young Yang
of your main CMakeLists.txt be > to add_subdirectory(post-install). Then all your post-install logic can > live in there. > > -- > Matt Keeler > > > On June 16, 2016 at 21:01:46, Young Yang (afe.yo...@gmail.com) wrote: > > Thanks! > This command really solve my probl

Re: [CMake] cmake install target doesn't run ldconfig after installing library

2016-06-16 Thread Young Yang
on to force install ordering but it seems like > as long as CMake processes that install command last it will perform it > last. So at the very end of your top level CMakeLists.txt file should do > the trick. > > -- > Matt Keeler > > > On June 15, 2016 at 22:12:09, Young Yan

[CMake] cmake install target doesn't run ldconfig after installing library

2016-06-15 Thread Young Yang
venient to tell the user he should run ldconfig by himself or herself. What is the best way to make the ldconfig run automatically? Thanks in advance :) -- Best wishes, Young Yang -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmak