MYNT-EYE-S-SDK/cmake/Option.cmake

23 lines
854 B
CMake
Raw Normal View History

2018-05-10 09:46:34 +03:00
# Copyright 2018 Slightech Co., Ltd. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
2018-04-25 11:06:38 +03:00
option(WITH_API "Build with API layer, need OpenCV" ON)
message(STATUS "Options:")
message(STATUS " WITH_API: ${WITH_API}")
2018-11-16 10:30:13 +02:00
2018-11-16 11:52:58 +02:00
# How to install glog?
# Ubuntu: `sudo apt-get install libgoogle-glog-dev`
2018-11-16 10:30:13 +02:00
option(WITH_GLOG "Include glog support" OFF)