Commit 760006ea authored by Daniel Agar's avatar Daniel Agar

cmake add qrc resources to executable for now

parent 862c6565
...@@ -185,6 +185,11 @@ set(QGC_RESOURCES ...@@ -185,6 +185,11 @@ set(QGC_RESOURCES
HackFileDialog.qrc HackFileDialog.qrc
qgcresources.qrc qgcresources.qrc
qgroundcontrol.qrc qgroundcontrol.qrc
src/FirmwarePlugin/APM/APMResources.qrc
src/FirmwarePlugin/PX4/PX4Resources.qrc
src/Airmap/airmap.qrc
src/Airmap/dummy/airmap_dummy.qrc
) )
if(BUILD_TESTING) if(BUILD_TESTING)
...@@ -196,8 +201,7 @@ endif() ...@@ -196,8 +201,7 @@ endif()
if(ANDROID) if(ANDROID)
add_library(QGroundControl SHARED ${QGC_RESOURCES}) add_library(QGroundControl SHARED ${QGC_RESOURCES})
else() else()
add_executable(QGroundControl ${QGC_RESOURCES} add_executable(QGroundControl ${QGC_RESOURCES})
)
endif() endif()
target_link_libraries(QGroundControl PUBLIC qgc) target_link_libraries(QGroundControl PUBLIC qgc)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment