Skip to content

Commit

Permalink
call project() at toplevel
Browse files Browse the repository at this point in the history
  • Loading branch information
doudou committed May 11, 2020
1 parent c95f077 commit 63d120c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# CMakeLists.txt has to be located in the project folder and cmake has to be
# executed from 'project/build' with 'cmake ../'.

cmake_minimum_required(VERSION 2.6)
cmake_minimum_required(VERSION 3.1)
project(frame_helper 1.0)
find_package(Rock)
rock_init(frame_helper 1.0)
rock_init()

option(OPENCV4 "Whether OpenCV 4 or later should be used" OFF)
if (OPENCV4)
set(opencv_pkgconfig_suffix 4)
Expand Down

0 comments on commit 63d120c

Please sign in to comment.