hooks icon indicating copy to clipboard operation
hooks copied to clipboard

[conan center] advice set_property rather set_target_properties

Open SSE4 opened this issue 5 years ago • 2 comments

from https://github.com/conan-io/conan-center-index/pull/1254#discussion_r403488929 /cc @uilianries for CMakeLists.txt and test_package/CMakeLists.txt, we may advice set_property over set_target_properties for advanced CMake compatibility

SSE4 avatar Apr 19 '20 07:04 SSE4

If you are going to implement this, then I would say this should be just a warning, not an error

Croydon avatar Apr 19 '20 12:04 Croydon

Yes, also, set_target_properties is okay when the required version is CMake 3+ (and really need Cmake 3)

uilianries avatar Apr 20 '20 16:04 uilianries