Skip to content

Commit a0f6732

Browse files
committed
test: require gmock target in CMake
1 parent 7489c96 commit a0f6732

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

test/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.22)
33
# Tests for the QML/Qt6 app
44

55
find_package(Qt 6.2 MODULE REQUIRED COMPONENTS Core Test Qml Quick QuickTest)
6-
find_package(GTest REQUIRED)
6+
find_package(GTest REQUIRED COMPONENTS gmock)
77

88
add_executable(bitcoinqml_unit_tests
99
test_unit_tests_main.cpp
@@ -37,7 +37,6 @@ target_include_directories(bitcoinqml_unit_tests
3737
target_link_libraries(bitcoinqml_unit_tests
3838
PRIVATE
3939
bitcoin_common
40-
GTest::gmock
4140
bitcoin_util
4241
GTest::gmock
4342
Qt6::Core

0 commit comments

Comments
 (0)