Skip to content

Commit

Permalink
Merge pull request #2329 from DARMA-tasking/2321-build-system-is-mixi…
Browse files Browse the repository at this point in the history
…ng-the-system-googletest-headers-with-our-internal-googletest

#2321: Build system is mixing the system googletest headers with our internal googletest
  • Loading branch information
nlslatt committed Jul 18, 2024
2 parents 056075b + eeae60d commit 3f3c982
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
2 changes: 1 addition & 1 deletion cmake/link_vt.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function(link_target_with_vt)
if (${ARG_DEBUG_LINK})
message(STATUS "link_target_with_vt: gtest=${ARG_LINK_GTEST}")
endif()
target_link_libraries(${ARG_TARGET} PRIVATE gtest)
target_link_libraries(${ARG_TARGET} PRIVATE ${GOOGLETEST_LIBRARY})
endif()

if (NOT DEFINED ARG_LINK_UNWIND AND ${ARG_DEFAULT_LINK_SET} OR ARG_LINK_UNWIND)
Expand Down
2 changes: 1 addition & 1 deletion cmake/load_packages.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ include(cmake/load_local_packages.cmake)
include(cmake/load_mpi_package.cmake)

# ZLIB package
include(cmake/load_zlib_package.cmake)
find_package(ZLIB REQUIRED)

# Perl is used to build the PMPI wrappers
find_package(Perl)
Expand Down
11 changes: 0 additions & 11 deletions cmake/load_zlib_package.cmake

This file was deleted.

0 comments on commit 3f3c982

Please sign in to comment.