Skip to content

Commit 16b48be

Browse files
committed
Examples: Fix Qt widgets example
1 parent c7729ff commit 16b48be

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

examples/qt_widgets/CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,11 @@ target_link_libraries(
1919
PRIVATE
2020
cppproperties
2121
)
22+
23+
# Note: This is also set in the cppproperties library target. However, that does not seem to pass to the
24+
# consuming target. Figure out why not.
25+
set_target_properties(
26+
${TARGET}
27+
PROPERTIES
28+
AUTOMOC ON
29+
)

0 commit comments

Comments
 (0)