c++ - CMake Warning: Cannot generate a safe linker search path for target -
while running cmake pcl project got warning message:
-- configuring done cmake warning @ cmakelists.txt:12 (add_executable): cannot generate safe linker search path target handgenerator_output_to_pcd because files in directories may conflict libraries in implicit directories: link library [libboost_system.so] in /usr/lib/x86_64-linux-gnu may hidden files in: /usr/local/lib link library [libboost_filesystem.so] in /usr/lib/x86_64-linux-gnu may hidden files in: /usr/local/lib link library [libboost_thread.so] in /usr/lib/x86_64-linux-gnu may hidden files in: /usr/local/lib link library [libboost_date_time.so] in /usr/lib/x86_64-linux-gnu may hidden files in: /usr/local/lib link library [libboost_iostreams.so] in /usr/lib/x86_64-linux-gnu may hidden files in: /usr/local/lib link library [libboost_serialization.so] in /usr/lib/x86_64-linux-gnu may hidden files in: /usr/local/lib link library [libboost_chrono.so] in /usr/lib/x86_64-linux-gnu may hidden files in: /usr/local/lib of these libraries may not found correctly. -- generating done
how resolve this?
Comments
Post a Comment