You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
648 B
17 lines
648 B
2 months ago
|
# 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(rs-callback)
|
||
|
|
||
|
if(BUILD_GRAPHICAL_EXAMPLES)
|
||
|
add_executable(${PROJECT_NAME} ${PROJECT_NAME}.cpp)
|
||
|
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 11)
|
||
|
target_link_libraries( ${PROJECT_NAME} ${DEPENDENCIES} tclap )
|
||
|
include_directories(${PROJECT_NAME} ../ )
|
||
|
set_target_properties (${PROJECT_NAME} PROPERTIES FOLDER "Examples")
|
||
|
|
||
|
install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||
|
endif()
|