MaciejPatro / cmake-tidy

Project provides a set of tools that will ease the development process for code written in CMake.
MIT License
16 stars 0 forks source link

Property with multiple values #89

Closed MaciejPatro closed 4 years ago

MaciejPatro commented 4 years ago
    set_property(TARGET GoogleTest::GoogleTest
        PROPERTY INTERFACE_LINK_LIBRARIES
            GoogleTest::gmock
            GoogleTest::gtest
    )

is

    set_property(
        TARGET GoogleTest::GoogleTest
        PROPERTY
            INTERFACE_LINK_LIBRARIES GoogleTest::gmock
                GoogleTest::gtest
    )

instead of

    set_property(
        TARGET GoogleTest::GoogleTest
        PROPERTY
            INTERFACE_LINK_LIBRARIES
                GoogleTest::gmock
                GoogleTest::gtest
    )
MaciejPatro commented 4 years ago

still visible

MaciejPatro commented 4 years ago
    set_property(TARGET GoogleTest::GoogleTest
        PROPERTY INTERFACE_LINK_LIBRARIES
            GoogleTest::gmock
            GoogleTest::gtest
    )