-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make jinja2cpp conan-friendly again (#217)
* make jinja2cpp conan-friendly again * fix c++20 build mode
- Loading branch information
Showing
3 changed files
with
12 additions
and
9 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
message(STATUS "'conan-build' dependencies mode selected for Jinja2Cpp. All dependencies are taken as a conan packages") | ||
|
||
find_package(expected-lite) | ||
find_package(variant-lite) | ||
find_package(optional-lite) | ||
find_package(string-view-lite) | ||
find_package(expected-lite REQUIRED) | ||
find_package(variant-lite REQUIRED) | ||
find_package(optional-lite REQUIRED) | ||
find_package(string-view-lite REQUIRED) | ||
find_package(nlohmann_json REQUIRED) | ||
|
||
find_package(Boost) | ||
set(CONAN_BOOST_PACKAGE_NAME Boost::Boost) | ||
find_package(fmt) | ||
find_package(rapidjson) | ||
find_package(RapidJSON) | ||
|
||
set(JINJA2_PRIVATE_LIBS_INT ${CONAN_BOOST_PACKAGE_NAME} fmt::fmt rapidjson::rapidjson) | ||
set(JINJA2_PUBLIC_LIBS_INT expected-lite::expected-lite variant-lite::variant-lite optional-lite::optional-lite string-view-lite::string-view-lite) | ||
set(JINJA2_PRIVATE_LIBS_INT ${CONAN_BOOST_PACKAGE_NAME} fmt::fmt RapidJSON::RapidJSON nlohmann_json::nlohmann_json) | ||
set(JINJA2_PUBLIC_LIBS_INT nonstd::expected-lite nonstd::variant-lite nonstd::optional-lite nonstd::string-view-lite) |