Skip to content

Commit

Permalink
build: add option for geo feature
Browse files Browse the repository at this point in the history
  • Loading branch information
edgomez committed Sep 21, 2012
1 parent 122d941 commit 862f058
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ OPT_OPENCL=-1
OPT_UNITY=-1
OPT_TETHERING=-1
OPT_EXPERIMENTAL_IOP=-1
OPT_GEO=-1

# ---------------------------------------------------------------------------
# Parse options
Expand Down Expand Up @@ -59,6 +60,9 @@ parse_feature()
experimental)
OPT_EXPERIMENTAL_IOP=$value
;;
geo)
OPT_GEO=$value
;;
*)
echo "warning: unknown feature '$feature'"
;;
Expand Down Expand Up @@ -130,6 +134,7 @@ so that the cmake script autodetects features.
--enable-unity
--enable-tethering
--enable-experimental
--enable-geo
Extra:
-h --help Print help message
Expand Down Expand Up @@ -200,6 +205,7 @@ cmake_boolean_option USE_OPENCL $OPT_OPENCL
cmake_boolean_option USE_UNITY $OPT_UNITY
cmake_boolean_option USE_CAMERA_SUPPORT $OPT_TETHERING
cmake_boolean_option INSTALL_IOP_EXPERIMENTAL $OPT_EXPERIMENTAL_IOP
cmake_boolean_option USE_GEO $OPT_GEO

# Some people might need this, but ignore if unset in environment
CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH:-}
Expand Down

0 comments on commit 862f058

Please sign in to comment.