enable automoc and friends for all Qt platform drivers
This commit is contained in:
parent
12fddd4caa
commit
ebb8c284f9
|
@ -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)
|
||||
|
|
|
@ -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})
|
||||
|
||||
|
|
Loading…
Reference in New Issue