Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cmake] develop library lives at the tip of dependencies #207

Merged
merged 1 commit into from
Nov 11, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,29 +59,27 @@ include(GNUInstallDirs)

FetchContent_Declare(
eigen
URL "https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.tar.bz2"
URL_HASH "MD5=132dde48fe2b563211675626d29f1707"
GIT_REPOSITORY "https://gitlab.com/libeigen/eigen.git"
FIND_PACKAGE_ARGS NAMES Eigen3)

FetchContent_Declare(
fmt
URL "https://github.com/fmtlib/fmt/archive/refs/tags/9.1.0.tar.gz"
URL_HASH "MD5=21fac48cae8f3b4a5783ae06b443973a"
GIT_REPOSITORY "https://github.com/fmtlib/fmt.git"
FIND_PACKAGE_ARGS NAMES FMT)

FetchContent_Declare(
google_benchmark
URL "https://github.com/google/benchmark/archive/refs/tags/v1.6.2.tar.gz"
URL_HASH "MD5=14d14849e075af116143a161bc3b927b"
GIT_REPOSITORY "https://github.com/google/benchmark.git"
GIT_TAG "main"
FIND_PACKAGE_ARGS NAMES benchmark)

FetchContent_Declare(
google_test
URL "https://github.com/google/googletest/archive/refs/tags/release-1.12.1.tar.gz"
URL_HASH "MD5=e82199374acdfda3f425331028eb4e2a"
GIT_REPOSITORY "https://github.com/google/googletest.git"
GIT_TAG "main"
FIND_PACKAGE_ARGS NAMES GTest)

FetchContent_MakeAvailable(eigen fmt google_test google_benchmark)
FetchContent_MakeAvailable(fmt google_test google_benchmark eigen)

add_subdirectory(benchmark)
add_subdirectory(include)
Expand Down