diff --git a/testgui/CMakeLists.txt b/testgui/CMakeLists.txt index f81fa92..f84c9f2 100644 --- a/testgui/CMakeLists.txt +++ b/testgui/CMakeLists.txt @@ -63,6 +63,16 @@ ADD_DEFINITIONS(-Wall) ADD_EXECUTABLE(pietestgui ${MOC_SRCS} ${SRCS} ${UI_SRCS} ${UI_SRCS} ${RC_SRCS}) INSTALL(FILES pietestgui.desktop DESTINATION share/applications) +INSTALL(FILES pieng.png DESTINATION share/pixmaps RENAME pietestgui.png) + +INSTALL(TARGETS pietestgui RUNTIME DESTINATION bin) + +TARGET_LINK_LIBRARIES(pietestgui + Qt5::Core + Qt5::Gui + Qt5::Widgets + piehid +) if (WIN32) @@ -77,9 +87,3 @@ if (WIN32) endif (WIN32) -target_link_libraries (pietestgui - Qt5::Core - Qt5::Gui - Qt5::Widgets - piehid) - diff --git a/testgui/pieng.png b/testgui/pieng.png new file mode 100644 index 0000000..0a84678 Binary files /dev/null and b/testgui/pieng.png differ