Skip to content
Snippets Groups Projects
Commit a794ae2e authored by scott snyder's avatar scott snyder
Browse files

TrigHLTJetHypoUnitTests: cmake fix

The GMock library includes GTest, so we shouldn't include both.
(And including both will cause double-delete crashes.)



Former-commit-id: 57042c7be619ab53605948d05e14e5567c7fad23
parent 2114338b
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,6 @@ atlas_depends_on_subdirs(
# External dependencies:
find_package( ROOT COMPONENTS Core Physics )
find_package( GTest )
find_package( GMock )
# Test(s) in the package:
......@@ -37,6 +36,6 @@ atlas_add_test( TrigHLTJetHypoUnitTests
src/SelectedJetsMatcherTest.cxx
src/TLorentzVectorFactoryTest.cxx
src/TightCleanerTest.cxx
INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${GTEST_INCLUDE_DIRS} ${GMOCK_INCLUDE_DIRS}
LINK_LIBRARIES ${ROOT_LIBRARIES} ${GTEST_LIBRARIES} ${GMOCK_LIBRARIES}
INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${GMOCK_INCLUDE_DIRS}
LINK_LIBRARIES ${ROOT_LIBRARIES} ${GMOCK_LIBRARIES}
TrigHLTJetHypoLib )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment