Unverified Commit def175f4 authored by Theodore Tsirpanis's avatar Theodore Tsirpanis Committed by GitHub
Browse files

Use standard CMake constructs to export the library's targets. (#260)

* Use standard CMake constructs to export the library's targets.

* Fix typo.

* Document that PCRE2_USE_STATIC_LIBS is not required if only one edition of the library has been built.

* Replace some missed stuff from previous review.

* Don't explicitly set `PCRE2_FOUND` to true.

* Avoid defining the target aliases if they are already defined.

* Set `PCRE2_LIBRARIES` and `PCRE2_***_LIBRARY` for compatibility.

* Change `PCRE2_USE_STATIC_LIBS` to prohibit loading the shared library if set.
parent 6bc8ccfc
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment