Fix pcl_cc_tool_interface library build configuration#6377
Fix pcl_cc_tool_interface library build configuration#6377sumir0 wants to merge 3 commits intoPointCloudLibrary:masterfrom
pcl_cc_tool_interface library build configuration#6377Conversation
* Add `PIC` property for `pcl_cc_tool_interface` target in CMake Signed-off-by: Ramir Sultanov <[email protected]>
* Change setter of `PIC` property for `pcl_cc_tool_interface` target in CMake Signed-off-by: Ramir Sultanov <[email protected]>
|
Current build configuration produces the following error on my linux platform: At the moment I can not confirm neither necessity, neither the lack of necessity of |
…target * Add condition for setting `PIC` property for `pcl_cc_tool_interface` target Signed-off-by: Ramir Sultanov <[email protected]>
mvieth
left a comment
There was a problem hiding this comment.
Looks like a good idea, thank you.
|
Could you elaborate a bit @sumir0 - since it is already building on both 20.04, 22.04 and 24.04 on our CI before this? |
|
I have seen it fail a few times on the ubuntu-variety CI: https://dev.azure.com/PointCloudLibrary/pcl/_build?definitionId=15 So far it only happened when gcc was used. Might also be related to |
|
@larshg I did a few more tests, and it is probably not related to the chosen value of |
|
Thank you for tests and #6415! I couldn't figure out the reason to why CI doesn't fail and my build fails at the time. But now reading your comments I think it is indeed somehow caused by the fact that I build PCL with GCC and Qt6 |
PICproperty forpcl_cc_tool_interfacetarget in CMake