Skip to content

Commit

Permalink
[cmake] Properly compute the path to gtest.
Browse files Browse the repository at this point in the history
Fixes #753.
  • Loading branch information
vgvassilev committed Feb 12, 2024
1 parent eae2231 commit 7d49064
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,7 @@ jobs:
compiler: clang-16
clang-runtime: '17'
extra_packages: 'libtrilinos-kokkos-dev'
extra_cmake_options: '-G Ninja'

# Оld, still supported versions

Expand Down
2 changes: 1 addition & 1 deletion cmake/modules/CladGoogleTest.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
set(_gtest_byproduct_binary_dir
${CMAKE_BINARY_DIR}/downloads/googletest-prefix/src/googletest-build)
${CMAKE_BINARY_DIR}/unittests/googletest-prefix/src/googletest-build)
set(_gtest_byproducts
${_gtest_byproduct_binary_dir}/lib/libgtest.a
${_gtest_byproduct_binary_dir}/lib/libgtest_main.a
Expand Down

0 comments on commit 7d49064

Please sign in to comment.