Commit 57fcf533 authored by Jan Möbius's avatar Jan Möbius

Use Automoc instead of own macros

parent 942fbadc
Pipeline #8209 passed with stages
in 6 minutes and 51 seconds
......@@ -428,11 +428,14 @@ acg_drop_templates (sources)
if ( QT5_FOUND )
# genereate uic and moc targets
acg_qt5_autouic (uic_targets ${ui})
acg_qt5_automoc (moc_targets ${headers})
# Enable automoc
set(CMAKE_AUTOMOC ON)
list (APPEND COMISO_LINK_LIBRARIES ${QT_LIBRARIES})
endif()
acg_add_library (CoMISo SHARED ${uic_targets} ${sources} ${headers} ${moc_targets})
acg_add_library (CoMISo SHARED ${uic_targets} ${sources} ${headers} )
if (NOT APPLE)
target_link_libraries (CoMISo
......
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