Skip to content

Commit d7dc7c8

Browse files
authored
Merge pull request #1 from haider8645/feature/qt5
Update Cmake syntax and to qt5
2 parents 2e54be7 + 4361a0d commit d7dc7c8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

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)
44
find_package(Rock)
5-
rock_init(rock_tutorial 0.1)
5+
project(rock_tutorial VERSION 0.1 DESCRIPTION "Rock Tutorial")
6+
rock_init()
67
rock_standard_layout()

viz/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
rock_find_qt5(Core)
12

23
rock_vizkit_plugin(rock_tutorial-viz
34
RockVisualization.cpp

0 commit comments

Comments
 (0)