Skip to content

Commit 867f508

Browse files
authored
Merge pull request #1 from haider8645/feature/qt5
Update root Cmake to use moc from qt5
2 parents d7573f4 + 6ac7394 commit 867f508

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# CMakeLists.txt has to be located in the project folder and cmake has to be
22
# executed from 'project/build' with 'cmake ../'.
3-
cmake_minimum_required(VERSION 2.6)
3+
cmake_minimum_required(VERSION 3.0)
4+
project(vizkit3d_plugin_tutorial VERSION 0.1 DESCRIPTION "vizkit3d plugin tutorial")
45
find_package(Rock)
5-
rock_init(vizkit3d_plugin_tutorial 0.1)
6+
rock_init()
67
rock_standard_layout()

viz/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
rock_find_qt5(Core)
2+
13
rock_vizkit_plugin(vizkit3d_plugin_tutorial-viz
24
SphereVisualization.cpp
35
DEPS vizkit3d_plugin_tutorial

0 commit comments

Comments
 (0)