Skip to content

Commit

Permalink
something???
Browse files Browse the repository at this point in the history
  • Loading branch information
bunty95 authored Oct 13, 2024
1 parent 1550b71 commit 59ab1be
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ if("${QT_PREFIX}" STREQUAL "Qt6")
endif()

add_executable(dlt-viewer
macdeployqt
main.cpp
mainwindow.cpp
project.cpp
Expand Down Expand Up @@ -52,7 +53,9 @@ add_executable(dlt-viewer
resources/dlt_viewer.rc
)

target_link_libraries(dlt-viewer qdlt Qt6::Core Qt6::Network Qt6::Widgets Qt6::SerialPort)
target_link_libraries(dlt-viewer qdlt macdeployqt
"-framework AppKit"
Qt6::Core Qt6::Network Qt6::Widgets Qt6::SerialPort)

if(CMAKE_COMPILER_IS_GNUCXX)
# https://stackoverflow.com/questions/45329372/ubuntu-recognizes-executable-as-shared-library-and-wont-run-it-by-clicking
Expand Down

0 comments on commit 59ab1be

Please sign in to comment.