Skip to content

Commit 2067f66

Browse files
zeroxiaxiazuoling.xzlbaylesj
authored
cmake export configuration: allow repeating find_package(jsoncpp) calls (#1491)
In jsoncpp-namspaced-targets.cmake, it creates JsonCpp::JsonCpp imported library without first checking whether it was already created by former call to find_package(JsonCpp). As CMake allows repeated call to find_package(), the error of "another target with the same name already exists" should be fixed. Co-authored-by: xiazuoling.xzl <xiazuoling.xzl@alibaba-inc.com> Co-authored-by: Jordan Bayles <bayles.jordan@gmail.com>
1 parent 3aa1192 commit 2067f66

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)