# License: Apache 2.0. See LICENSE file in root directory. # Copyright(c) 2019 Intel Corporation. All Rights Reserved. # minimum required cmake version: 3.1.0 cmake_minimum_required(VERSION 3.1.0) project(RealsenseExamplesMotion) if(BUILD_GRAPHICAL_EXAMPLES) add_executable(rs-motion rs-motion.cpp ../example.hpp ../../common/res/d435.h ${LZ4_DIR}/lz4.c) set_property(TARGET rs-motion PROPERTY CXX_STANDARD 11) target_link_libraries(rs-motion ${DEPENDENCIES}) include_directories(../ ../../common/res ${LZ4_DIR}) set_target_properties (rs-motion PROPERTIES FOLDER Examples) install(TARGETS rs-motion RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) endif()