File tree Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -127,14 +127,14 @@ if (Qt5Widgets_FOUND AND Qt5Test_FOUND)
127
127
128
128
add_executable (notebook ${gui_main} ${gui_src} )
129
129
if (UNIX AND NOT APPLE AND CMAKE_COMPILER_IS_GNUCXX )
130
- target_link_libraries (notebook interpreter Qt5::Widgets pthread )
130
+ target_link_libraries (notebook interpreter Qt5::Widgets pthread gcov )
131
131
else (UNIX AND NOT APPLE AND CMAKE_COMPILER_IS_GNUCXX )
132
132
target_link_libraries (notebook interpreter Qt5::Widgets )
133
133
endif ()
134
134
135
135
add_executable (notebook_test ${gui_test_src} ${gui_src} )
136
136
if (UNIX AND NOT APPLE AND CMAKE_COMPILER_IS_GNUCXX )
137
- target_link_libraries (notebook_test interpreter Qt5::Widgets Qt5::Test pthread )
137
+ target_link_libraries (notebook_test interpreter Qt5::Widgets Qt5::Test pthread gcov )
138
138
else (UNIX AND NOT APPLE AND CMAKE_COMPILER_IS_GNUCXX )
139
139
target_link_libraries (notebook_test interpreter Qt5::Widgets Qt5::Test )
140
140
endif ()
Original file line number Diff line number Diff line change
1
+ diff --git a/CMakeLists.txt b/CMakeLists.txt
2
+ index 473b737..f18d415 100644
3
+ --- a/CMakeLists.txt
4
+ +++ b/CMakeLists.txt
5
+ @@ -127,14 +127,14 @@ if (Qt5Widgets_FOUND AND Qt5Test_FOUND)
6
+
7
+ add_executable(notebook ${gui_main} ${gui_src})
8
+ if(UNIX AND NOT APPLE AND CMAKE_COMPILER_IS_GNUCXX)
9
+ - target_link_libraries(notebook interpreter Qt5::Widgets pthread)
10
+ + target_link_libraries(notebook interpreter Qt5::Widgets pthread gcov)
11
+ else(UNIX AND NOT APPLE AND CMAKE_COMPILER_IS_GNUCXX)
12
+ target_link_libraries(notebook interpreter Qt5::Widgets)
13
+ endif()
14
+
15
+ add_executable(notebook_test ${gui_test_src} ${gui_src})
16
+ if(UNIX AND NOT APPLE AND CMAKE_COMPILER_IS_GNUCXX)
17
+ - target_link_libraries(notebook_test interpreter Qt5::Widgets Qt5::Test pthread)
18
+ + target_link_libraries(notebook_test interpreter Qt5::Widgets Qt5::Test pthread gcov)
19
+ else(UNIX AND NOT APPLE AND CMAKE_COMPILER_IS_GNUCXX)
20
+ target_link_libraries(notebook_test interpreter Qt5::Widgets Qt5::Test)
21
+ endif()
You can’t perform that action at this time.
0 commit comments