diff --git a/src/odb/test/cpp/CMakeLists.txt b/src/odb/test/cpp/CMakeLists.txt index 577543969c9..95c8b060d56 100644 --- a/src/odb/test/cpp/CMakeLists.txt +++ b/src/odb/test/cpp/CMakeLists.txt @@ -28,7 +28,7 @@ add_executable(TestGuide TestGuide.cpp) add_executable(TestNetTrack TestNetTrack.cpp) add_executable(TestMaster TestMaster.cpp) -target_link_libraries(OdbGTests odb gtest gmock gtest_main) +target_link_libraries(OdbGTests odb GTest::gtest GTest::gmock GTest::gtest_main) target_link_libraries(TestCallBacks ${TEST_LIBS}) target_link_libraries(TestGeom ${TEST_LIBS}) target_link_libraries(TestModule ${TEST_LIBS})