Skip to content
Snippets Groups Projects
Commit fdec857f authored by Alberto Nidasio's avatar Alberto Nidasio
Browse files

[CMake] Applied Qt autogen tools only to groundstation target

parent 76041c9f
No related branches found
No related tags found
No related merge requests found
...@@ -26,10 +26,6 @@ project(SkywardHub) ...@@ -26,10 +26,6 @@ project(SkywardHub)
set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
# MAvLink Skyward library # MAvLink Skyward library
add_subdirectory(libs/mavlink-skyward-lib EXCLUDE_FROM_ALL) add_subdirectory(libs/mavlink-skyward-lib EXCLUDE_FROM_ALL)
...@@ -104,6 +100,10 @@ target_link_libraries(groundstation PUBLIC ...@@ -104,6 +100,10 @@ target_link_libraries(groundstation PUBLIC
Mavlink::Mavlink Mavlink::Mavlink
) )
set_target_properties(groundstation PROPERTIES AUTOMOC ON)
set_target_properties(groundstation PROPERTIES AUTORCC ON)
set_target_properties(groundstation PROPERTIES AUTOUIC ON)
# Prevent the creation of a console window on Windows # Prevent the creation of a console window on Windows
set_target_properties(groundstation PROPERTIES WIN32_EXECUTABLE TRUE) set_target_properties(groundstation PROPERTIES WIN32_EXECUTABLE TRUE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment