1
0
Fork 0

enable automoc and friends for all Qt platform drivers

This commit is contained in:
Kevin Matz 2023-04-03 08:58:28 -04:00
parent 12fddd4caa
commit ebb8c284f9
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,8 @@
project(${PROJECT_NAME}-qt VERSION ${PROJECT_VERSION})
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
# network and gui interface for an sACN node
add_subdirectory(sacn)

View File

@ -2,8 +2,6 @@ project(${PROJECT_NAME}-sacn VERSION ${PROJECT_VERSION})
find_package(Qt6 COMPONENTS Gui Network Widgets REQUIRED)
set(CMAKE_AUTOMOC ON)
add_library(${PROJECT_NAME} SHARED)
add_library(LCP::Qt::sACN ALIAS ${PROJECT_NAME})