-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ver 3.1 ADDBOOSTCMAKE_LINK_TYPE, fixed one
if
clause, more `message…
…(DEBUG...)` ver 3.1 ADDBOOSTCMAKE_LINK_TYPE ; fixed if clause ; if `CPM_LOCAL_PACKAGES_ONLY=1` emit more logs Added ADDBOOSTCMAKE_LINK_TYPE, which allows specifying link type that the `add_boost` will use to a target. By default it will use PUBLIC, unless your package is `INTERFACE`, in which case it will link with `INTERFACE` Fixed `if` clause: there was `endif` after `if(DEFINED BOOST_USE_MY_BOOST_DIRECTORY) ...` , not `elseif` More message(DEBUG ...) . If you configure your project with `--log-level=DEBUG` , it will generate more DEBUG info. Use my version of CPM until PR is accepted: now if used CPM_LOCAL_PACKAGES_ONLY, it will make CMake's `find_package` to emit error with description. Which is useful if correct boost version is found but failed to find a COMPONENT part. Previously CPM tried to just say "it failed. live with it` without logs.
- Loading branch information
Showing
2 changed files
with
104 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters