Skip to content

Commit

Permalink
cmake export configuration: allow repeating find_package(jsoncpp) cal…
Browse files Browse the repository at this point in the history
…ls (open-source-parsers#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>
  • Loading branch information
3 people authored Sep 10, 2024
1 parent 3aa1192 commit 2067f66
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 2067f66

Please sign in to comment.