Lines 1-15
Link Here
|
1 |
--- gui/CMakeLists.txt.orig 2022-03-19 11:35:06 UTC |
1 |
--- gui/CMakeLists.txt.orig 2022-08-28 12:43:18 UTC |
2 |
+++ gui/CMakeLists.txt |
2 |
+++ gui/CMakeLists.txt |
3 |
@@ -36,7 +36,7 @@ if (BUILD_GUI) |
3 |
@@ -34,7 +34,7 @@ if (BUILD_GUI) |
4 |
target_link_libraries(cppcheck-gui ${Z3_LIBRARIES}) |
4 |
target_link_libraries(cppcheck-gui ${PCRE_LIBRARY}) |
5 |
endif() |
5 |
endif() |
6 |
if(tinyxml2_FOUND AND NOT USE_BUNDLED_TINYXML2) |
6 |
if(tinyxml2_FOUND AND NOT USE_BUNDLED_TINYXML2) |
7 |
- target_link_libraries(cppcheck-gui ${tinyxml2_LIBRARIES}) |
7 |
- target_link_libraries(cppcheck-gui ${tinyxml2_LIBRARIES}) |
8 |
+ target_link_libraries(cppcheck-gui tinyxml2::tinyxml2) |
8 |
+ target_link_libraries(cppcheck-gui tinyxml2::tinyxml2) |
9 |
endif() |
9 |
endif() |
10 |
target_link_libraries(cppcheck-gui Qt5::Core Qt5::Gui Qt5::Widgets Qt5::PrintSupport Qt5::Help) |
10 |
target_link_libraries(cppcheck-gui ${QT_CORE_LIB} ${QT_GUI_LIB} ${QT_WIDGETS_LIB} ${QT_PRINTSUPPORT_LIB} ${QT_HELP_LIB}) |
11 |
if(WITH_QCHART) |
11 |
if(WITH_QCHART) |
12 |
@@ -51,7 +51,7 @@ if (BUILD_GUI) |
12 |
@@ -49,7 +49,7 @@ if (BUILD_GUI) |
13 |
endif() |
13 |
endif() |
14 |
|
14 |
|
15 |
install(TARGETS cppcheck-gui RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR} COMPONENT applications) |
15 |
install(TARGETS cppcheck-gui RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR} COMPONENT applications) |