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
HackFileDialog.qrc
qgcresources.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)
......@@ -196,8 +201,7 @@ endif()
if(ANDROID)
add_library(QGroundControl SHARED ${QGC_RESOURCES})
else()
add_executable(QGroundControl ${QGC_RESOURCES}
)
add_executable(QGroundControl ${QGC_RESOURCES})
endif()
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