Skip to content

Commit

Permalink
#205 Fix CMake build
Browse files Browse the repository at this point in the history
Signed-off-by: cneben <[email protected]>
  • Loading branch information
cneben committed May 17, 2023
1 parent e068be3 commit fce930a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion samples/cpp/cpp_sample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ int main( int argc, char** argv )
group->getItem()->setRect({300, 200, 400, 250});

// Grouping nodes from c++
graph->groupNode(group, nodes[0][0], false);
graph->groupNode(group, nodes[0][0], nullptr, false);

// NOTE: If the node is already on top of the group were we want to insert node, use transformPosition=true
// to convert node position from graphview coordinate system to group coordinate system.
Expand Down
8 changes: 8 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ set(qan_source_files
qanStyleManager.cpp
qanAnalysisTimeHeatMap.cpp
qanUtils.cpp
qanTableGroup.cpp
qanTableCell.cpp
qanTableBorder.cpp
qanTableGroupItem.cpp
)

set (qan_header_files
Expand Down Expand Up @@ -56,6 +60,10 @@ set (qan_header_files
qanStyleManager.h
qanAnalysisTimeHeatMap.cpp
qanUtils.h
qanTableGroup.h
qanTableCell.h
qanTableBorder.h
qanTableGroupItem.h
QuickQanava.h
gtpo/container_adapter.h
gtpo/edge.h
Expand Down

0 comments on commit fce930a

Please sign in to comment.