-
Notifications
You must be signed in to change notification settings - Fork 233
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add external tl-expected via nix, add proj via flake instead of submo…
…dule (#1347)
- Loading branch information
Showing
4 changed files
with
55 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
set(EXPECTED_BUILD_TESTS OFF) | ||
set(EXPECTED_BUILD_PACKAGE OFF) | ||
|
||
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/deps/expected) | ||
include(aliasing) | ||
if (FF_USE_EXTERNAL_EXPECTED) | ||
find_package(tl-expected REQUIRED) | ||
alias_library(expected tl::expected) | ||
else() | ||
set(EXPECTED_BUILD_TESTS OFF) | ||
set(EXPECTED_BUILD_PACKAGE OFF) | ||
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/deps/expected) | ||
endif() |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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