File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,4 +101,4 @@ jobs:
101101 if : startsWith (matrix.os, 'windows')
102102 run : |
103103 cd build
104- ctest --output-on-failure --progress
104+ ctest -C ${{ matrix.configuration }} - -output-on-failure --progress
Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ set(CMAKE_DISABLE_SOURCE_CHANGES ON)
1313set (OpenGL_GL_PREFERENCE LEGACY)
1414set (CMAKE_EXPORT_COMPILE_COMMANDS ON )
1515
16+ # Enable AUTOMOC globally for all targets (needed for examples with Q_OBJECT)
17+ set (CMAKE_AUTOMOC ON )
18+ set (CMAKE_AUTORCC ON )
19+
1620get_directory_property (_has_parent PARENT_DIRECTORY )
1721if (_has_parent)
1822 set (is_root_project OFF )
@@ -189,12 +193,6 @@ set_target_properties(QtNodes
189193 RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR} /bin
190194)
191195
192- ######
193- # Moc
194- ##
195- set_target_properties (QtNodes PROPERTIES AUTOMOC ON AUTORCC ON )
196-
197-
198196###########
199197# Examples
200198##
You can’t perform that action at this time.
0 commit comments