moved CATKIN_BUILD option on top

This commit is contained in:
matlabbe 2015-05-20 15:21:17 -04:00
parent 77ea44bcbc
commit cde57a6b22

View File

@ -1,5 +1,7 @@
cmake_minimum_required(VERSION 2.8.3)
OPTION(CATKIN_BUILD "Set to ON to build in a Catkin workspace (ROS)" OFF)
IF(NOT CATKIN_BUILD)
#Standalone build
PROJECT( Find-Object )
@ -8,8 +10,6 @@ ELSE()
PROJECT( find_object_2d )
ENDIF()
OPTION(CATKIN_BUILD "Set to ON to build in a Catkin workspace (ROS)" OFF)
#######################
# VERSION
#######################